Description Usage Arguments Details Value Author(s) Examples
View source: R/DSAVEGetTotalVariationFromBulk.R
Calculate total variation from bulk sample
1 2 3 4 5 6 7 8 9 | DSAVEGetTotalVariationFromBulk(
data,
pool4samples,
upperBound = 1e+05,
lowerBound = 0.5,
na.rm = TRUE,
nComb = 1000L,
rescale = TRUE
)
|
data |
a numericl matrix |
pool4samples |
logic value, if TRUE, the function will compare the mean of 4 randomly selected samples with the mean of 4 others |
upperBound |
filters out the genes with mean expression higher than this value |
lowerBound |
filters out the genes with mean expression lower than this value |
na.rm |
logical, sends na.rm value to the rowMeans function |
nComb |
number of combinations |
rescale |
logical, determine if the data should be rescaled to TPM |
Calculates the average pairwise total variation between a list of bulk samples, with a TPM filtration on the genes. If pool4samples is true, it will compare the mean of 4 randomly selected samples with the mean of 4 others. This expects a list of 8 samples.
numeric vector
Juan Inda, <inda@chalmers.se>
1 2 3 | ## Not run: DSAVEGetTotalVariationFromBulk(sample, pool4samples = FALSE, upperBound = 100000,
lowerBound = 0.5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.