cvExpr {CHARGE} | R Documentation |
Calculates the coefficient of variation for each gene within a defined genomic region.
cvExpr(se, region)
se |
A SummarizedExperiment containing the normalised gene expression data. |
region |
A GRanges object containing the genomic location of the region of interest. This can either be an entire length or the subset of a chromosome. |
Calculates the coefficient of variation (CV) for each gene with a genomic region of interest. The CV Values can be used to determine which genes are not critical for appropiate clustering and can be filtered out prior to clustering.
Returns a list containing the CV of each gene and the the quantile threshold of the data.
Benjamin Mayne
library(GenomicRanges) data(datExprs) chr21 <- GRanges("21:1-46709983") cvExpr.out <- cvExpr(se = datExprs, region = chr21)