View source: R/make.cna.densities.plots.R
make.cna.densities.plots | R Documentation |
Make density plots of copy number calls per sample and per gene
make.cna.densities.plots(nano.cnas, fname.stem = NULL)
nano.cnas |
A gene by sample matrix of CNA information (raw ratios or rounded CNA calls) |
fname.stem |
To use in filename. Description of how CNAs were called is suggested. Defaults to NULL |
Make density plots of copy number calls. Done separately for all genes and separately for all samples
None
Cindy Yao and Emilie Lalonde
## Not run:
# load data
data(NanoString.DNA.norm);
data(PhenoData);
# call CNAs
cnas <- call.cnas.with.pooled.normals(
normalized.data = NanoString.DNA.norm,
phenodata = PhenoData
);
# plot copy number call density for rounded values
# two plots: per gene and per sample
make.cna.densities.plots(
nano.cnas = cnas$rounded
);
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.