Description Usage Arguments Value
Helper function to get the relative proportion of flagged sites for a single sample versus all other samples
1 2 3 | calculateRPIM(sampleBaseline, sampleRelative, bsData,
cacheDir = getOption("RESOURCES.RCACHE"), imLower = 0.25,
imUpper = 0.75, confLevel = 0.95)
|
sampleBaseline |
The sample (which should specify a name in the bisulfite sequencing data) to use as the baseline the proportion of sites for. |
sampleRelative |
The sample to compare relatively to the baseline sample for the proportion of sites. |
bsData |
Bisulfite sequencing data for multiple samples; a BSDT (bisulfite data.table) that has been split with splitDataTable (so, a list of BSDTs); one corresponds to each sample to test. |
cacheDir |
If using caching, this argument specifies the directory to
use for storing the cache;
defaults to global option for |
imLower |
The lower boundary for intermediate methylation (IM); if a site is entirely below this threshold (or if any part of its binomial credibility interval overlaps this boundary) it is not considered IM; defaults to .25 |
imUpper |
The upper boundary for intermediate methylation (IM); if a site is entirely above this threshold (or if any part of its binomial credibility interval overlaps this boundary) it is not considered IM; defaults to .75 |
confLevel |
A decimal indicating the level of confidence to be used while creating cached the binomial bayes credibility interval; default is .95 for 95 percent confidence |
A vector of the same length as the number of samples being analyzed; each element in the vector represents the the proportion of intermediate methylation relative to the other samples for a single sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.