ratioConvert-methods {minfi} | R Documentation |
Converting methylation data from methylation and unmethylation channels, to ratios (Beta and M-values).
## S4 method for signature 'MethylSet' ratioConvert(object, what = c("beta", "M", "both"), keepCN = TRUE, ...) ## S4 method for signature 'GenomicMethylSet' ratioConvert(object, what = c("beta", "M", "both"), keepCN = TRUE, ...)
object |
Either a |
what |
Which ratios should be computed and stored? |
keepCN |
A logical, should copy number values be computed and stored in the object? |
... |
Passed to |
An object of class RatioSet
or GenomicRatioSet
.
Kasper Daniel Hansen khansen@jhsph.edu
RatioSet
or codeGenomicRatioSet for the output
object and MethylSet
or codeGenomicMethylSet
for the input object.
if (require(minfiData)) { ## MsetEx.sub is a small subset of MsetEx; ## only used for computational speed. RsetEx.sub <- ratioConvert(MsetEx.sub, keepCN = TRUE) }