getKdModel: getKdModel

View source: R/KdModels.R

getKdModelR Documentation

getKdModel

Description

getKdModel

Usage

getKdModel(kd, mirseq = NULL, name = NULL, conservation = NA_integer_, ...)

Arguments

kd

A data.frame containing the log_kd per 12-mer sequence, or the path to a text/csv file containing such a table. Should contain the columns 'log_kd', '12mer' (or 'X12mer'), and eventually 'mirseq' (if the 'mirseq' argument is NULL) and 'mir' (if the 'name' argument is NULL).

mirseq

The miRNA (cDNA) sequence.

name

The name of the miRNA.

conservation

The conservation level of the miRNA. See 'scanMiR:::.conservation_levels()' for possible values.

...

Any additional information to be saved with the model.

Value

An object of class 'KdModel'.

Examples

kd <- dummyKdData()
mod <- getKdModel(kd=kd, mirseq="TTAATGCTAATCGTGATAGGGGTT", name="my-miRNA")

ETHZ-INS/scanMiR documentation built on April 16, 2024, noon