assignKdType {scanMiR} | R Documentation |
Assigns a log_kd and match type to a set of matched sequences.
assignKdType(x, mod, mer8 = NULL)
x |
A vector of matched sequences, each of 12 nucleotides |
mod |
An object of class 'KdModel' |
mer8 |
The optional set of 8mers included in the model (for internal use; can be reconstructed from the model). |
A data.frame with one row for each element of 'x', and the columns 'type' and 'log_kd'. To save space, the reported log_kd is multiplied by 1000, rounded and saved as an integer.
data(SampleKdModel) assignKdType(c("CTAGCATTAAGT","ACGTACGTACGT"), SampleKdModel)