getB {ENmix} | R Documentation |
Extract Methylation Beta value, Beta = Meth / (Meth + Unmeth + offset)
getB(mdat,type="Illumina",offset=100)
mdat |
An object of class |
type |
type="Illumina" sets offset=100 as per Genome Studio software. |
offset |
Regularization factor in calculating beta ratio, 100 in default |
Methylation Beta value = Meth / (Meth + Unmeth + offset). Meth is methylated intensity matrix, Unmeth is unmethylated intensity matrix.
Zongli Xu
if (require(minfiData)){ path <- file.path(find.package("minfiData"),"extdata") rgSet <- readidat(path = path,recursive = TRUE) mdat=getmeth(rgSet) beta=getB(mdat,"Illumina") }