condplot {DeconRNASeq} | R Documentation |
A function is used to draw the plot of the condition number of signature matrices of all sizes, from a handful of genes in one extreme to the whole signature in the other.
condplot(step, cond)
step |
an array with the number of genes used to calculate the condition numbers of signature matrices, default stepwise = 20 |
cond |
an array with the condition numbers of signature matrices |
a plot for the condition numbers of signature matrices
Ting Gong tinggong@gmail.com Joseph D. Szustakowski joseph.szustakowski@novartis.com
Gong, T., et al. (2011) Optimal Deconvolution of Transcriptional Profiling Data Using Quadratic Programming with Application to Complex Clinical Blood Samples, PLoS One, 6, e27156.
library(DeconRNASeq) #################################################################### ## toy data example: step <- seq(20,1000, by=20) #every 20 genes ## cell type-specific gene expression matrix: x.signature <- matrix(rexp(2000),ncol=2) sig.cond <- sapply(step, function(x) kappa(scale(x.signature[1:x,]))) function (step, cond)