BSDMC-class | R Documentation |
The BSDMC
object is an S4 class that represents
differentially methylated CpG sites (DMCs) in BS-Seq Data.
methReads |
The matrix |
totalReads |
The matrix |
methLevels |
The matrix |
A BSDMC-class
object
methReads
An integer matrix
totalReads
An integer matrix
methLevels
A numeric matrix
Farhad Shokoohi <shokoohi@icloud.com>
RangedSummarizedExperiment-class
GRanges-class
nr <- 500 nc <- 16 metht <- matrix(as.integer(runif(nr * nc, 0, nr)), nr) methc <- matrix(rbinom(n = nr * nc, c(metht), prob = runif(nr * nc)), nr, nc) meths <- matrix(as.integer(runif(nr * nc, 0, 10)), nr) methl <- methc / metht methv <- matrix((runif(nr * nc, 0.1, 0.5)), nr) r1 <- GRanges(rep("chr1", nr), IRanges(1:nr, width = 1), strand = "*") names(r1) <- 1:nr cd1 <- DataFrame(Group = rep(c("G1", "G2"), each = nc / 2), row.names = LETTERS[1:nc]) OBJ2 <- cBSDMC( rowRanges = r1, methReads = methc, totalReads = metht, methLevels = methl, methStates = meths, methVars = methv, colData = cd1 ) OBJ2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.