Description Usage Arguments Details Value Author(s) References See Also Examples
Guided by the coefficients estimated from lm.estimate
, the bias correction could be performed.
1 | correct.guided(coe.train, obj.test)
|
coe.train |
a 1-column matrix of coefficients estimated from training data by |
obj.test |
an object of testing dataset generated from |
Besides of corrected reads, β\mathit{x} will be also calculated.
a matrix will be returned containing reads counts before and after correction and β\mathit{x} as well.
Guoshuai Cai
Cai G, RNA-SEQUENCING APPLICATIONS: GENE EXPRESSION QUANTIFICATION AND METHYLATOR PHENOTYPE IDENTIFICATION, Ph.D. Thesis, 2013
lm.estimate
, counts.preprocess
, index.preprocess
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | word<-81
data(obj.index)
data(train.dat.seq)
data(train.dat.counts)
data(test.dat.seq)
data(test.dat.counts)
#train
train.index<-index.preprocess(train.dat.seq,word)
obj.train<-counts.preprocess(train.dat.counts)
obj.train[["index"]]<-train.index
coe.lm<-lm.estimate(obj.train,fit.cut.train=5)
#test
test.index<-index.preprocess(test.dat.seq,word)
obj.test<-counts.preprocess(test.dat.counts)
obj.test[["index"]]<-test.index
test.corrected<-correct.guided(coe.lm,obj.test)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.