condplot {DeconRNASeq} | R Documentation

## Draw the plot of the condition numbers vs. the number of genes in the signature matrix

### Description

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.

### Usage

          condplot(step, cond)

### Arguments

`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

### Value

a plot for the condition numbers of signature matrices

### Author(s)

Ting Gong tinggong@gmail.com Joseph D. Szustakowski joseph.szustakowski@novartis.com

### References

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.

### Examples

    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)

[Package DeconRNASeq version 1.32.0 Index]