ratioConvert-methods | 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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.