Description Usage Arguments Details Value Author(s) Examples
View source: R/DSAVECalcBTMScore.R
Calculates the DSAVE BTM Variation Score, which gives and overall score for the BTM variation across all genes. This metric is comparable across datasets.
1 2 3 4 5 6 7 8 9 | DSAVECalcBTMScore(
data,
templInfo,
skipAlignment = FALSE,
iterations = 15,
useLogTransform = FALSE,
logTPMAddon = 1,
silent = FALSE
)
|
data |
numeric matrix (can be sparse), the input dataset (cell population) |
templInfo |
template information |
skipAlignment |
logical, default FALSE. If FALSE, alignment will be done against the template data |
iterations |
number of iterations; defaults to 15 |
useLogTransform |
default FALSE, if TRUE calculation will be done on log transformed data |
logTPMAddon |
default 1, when using log transformed data, this number is added to the data before transforming to avoid log(0) |
silent |
(optional) If true, no progress bar is shown. Defaults to FALSE |
The function generates sampling noise only (SNO) datasets for comparison with the real data, and subtracts the SNO total variation (which is sampling noise only) from the total variation of the cell population, yielding the BTM variation. Cell population alignment makes the metric comparable across cell populations and datasets.
List containing total variation from the aligned and SNO cell populations over the gene expression range, the difference between those, the corresponding gene expression values, and finally the BTM score.
Juan Inda, <inda@chalmers.se>, Johan Gustafsson, <gustajo@chalmers.se>
1 | ## Not run: a = DSAVECalcBTMScore(data, templInfo)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.