assignKdType: assignKdType

View source: R/KdModels.R

assignKdTypeR Documentation

assignKdType

Description

Assigns a log_kd and match type to a set of matched sequences.

Usage

assignKdType(x, mod, mer8 = NULL)

Arguments

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).

Value

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.

Examples

data(SampleKdModel)
assignKdType(c("CTAGCATTAAGT","ACGTACGTACGT"), SampleKdModel)

ETHZ-INS/scanMiR documentation built on July 17, 2024, 6:18 a.m.