Description Usage Arguments Examples
View source: R/HoneyBADGER_gexp.R
Calculate posterior probability of CNVs using normalized expression data
1 2 | calcGexpCnvProb(gexp.norm, genes, mvFit, m = 0.15, region = NULL,
verbose = FALSE)
|
gexp.norm |
Normalized gene expression matrix. |
genes |
GRanges annotation of gene names and coordinates |
mvFit |
Mean variance fit |
m |
Expression deviation due to copy number change (default: 0.15) |
region |
Optional GenomicRanges region of interest such as expected CNV boundaries. (default: NULL) |
verbose |
Verbosity (default: FALSE) |
1 2 3 4 5 6 7 8 9 10 | data(gexp)
data(ref)
require(biomaRt) ## for gene coordinates
mart.obj <- useMart(biomart = "ENSEMBL_MART_ENSEMBL",
dataset = 'hsapiens_gene_ensembl',
host = "jul2015.archive.ensembl.org")
gexp.mats <- setGexpMats(gexp, ref, mart.obj, filter=FALSE, scale=FALSE)
mvFit <- setMvFit(gexp.mats$gexp.norm)
results <- calcGexpCnvProb(gexp.mats$gexp.norm, gexp.mats$genes,
mvFit, region=GenomicRanges::GRanges('chr10', IRanges::IRanges(0,1e9)), verbose=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.