Learn R Programming

GCAI.bias (version 1.0)

corplot: Pairwise Correlation Calculation and Visualization

Description

Pairwise comparison matrix of the original and corrected measurements

Usage

corplot(mat)

Arguments

mat
a data matrix from correct.guided function

Value

a plot produced on the current graphic device

Details

Pairwise plots of sequencing reads mapped to each base pair on the log10 scale will be shown in the bottom panel; Pairwise Pearson correlation coefficients calculated on data points larger than 1 will be shown in the top panel.

References

Cai G, RNA-SEQUENCING APPLICATIONS: GENE EXPRESSION QUANTIFICATION AND METHYLATOR PHENOTYPE IDENTIFICATION, Ph.D. Thesis, 2013

See Also

correct.guided

Examples

Run this code
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)

corplot(test.corrected)

Run the code above in your browser using DataLab