Learn R Programming

minfi (version 1.18.2)

ratioConvert-methods: Converting methylation signals to ratios (Beta or M-values)

Description

Converting methylation data from methylation and unmethylation channels, to ratios (Beta and M-values).

Usage

## S3 method for class 'MethylSet':
ratioConvert(object, what = c("beta", "M", "both"), keepCN = TRUE, ...)
## S3 method for class 'GenomicMethylSet':
ratioConvert(object, what = c("beta", "M", "both"), keepCN = TRUE, ...)

Arguments

object
Either a MethylSet, or a GenomicRatioSet.
what
Which ratios should be computed and stored?
keepCN
A logical, should compy number values be computed and stored in the object?
...
Passed to getBeta, getM methods.

See Also

RatioSet or code{GenomicRatioSet} for the output object and MethylSet or code{GenomicMethylSet} for the input object.