Description Usage Arguments Details Value Author(s) Examples
This is the source file for fitting the linear quadratic normal family
1 | isoCorrect(train, data, cycles = 5000, long = FALSE)
|
train |
Long data.frame to train model. |
data |
Long data.frame to correct abundance. |
cycles |
Number of cycles to reach convergency. |
long |
Boolean if input is in long format instead of standard wide format (rows:miRNAs, columns:samples). |
Methods adapted from:
Argyropoulos, Christos, et al. "Modeling bias and variation in the stochastic processes of small RNA sequencing." Nucleic Acids Research (2017).
data.frame with corrected expression
Christos Argyropoulos and Lorena Pantano
1 2 3 4 5 6 7 | options(warn = -1) # this is only for tiny example
data(mirTritation)
ma <- isoCorrect(mirTritation[mirTritation$class=="train",],
mirTritation[mirTritation$class=="test",],cycles=5,long=TRUE)
library(ggplot2)
ggplot(ma,aes(y=log2(reads), x=Dilution)) + geom_jitter()
ggplot(ma,aes(y=m, x=Dilution)) + geom_jitter()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.