mval,RnBSet-method {RnBeads} | R Documentation |
Extracts DNA methylation information (M values) for a specified set of genomic features.
## S4 method for signature 'RnBSet' mval(object, type = "sites", row.names = FALSE, epsilon = 0)
object |
dataset of interest. |
type |
|
row.names |
Flag indicating of row names are to be generated in the result. |
epsilon |
Threshold of beta values to use when adjusting for potential M values close to +infinity or
-infinity. See |
matrix
with methylation M values.
meth
for extracting methylation beta values
library(RnBeads.hg19) data(small.example.object) ## per-site M-value matrix mm<-mval(rnb.set.example, row.names=TRUE) head(mm) ## M-values for each covered gene gmm<-mval(rnb.set.example, type="gene", row.names=TRUE) head(gmm)