R/cBSData-method.R

Defines functions .cBSData

.cBSData <- function(methReads, totalReads, rowRanges,
    colData = DataFrame(row.names = colnames(methReads)), metadata = list(),
    ...) {
    new("BSData", SummarizedExperiment(assays =
    SimpleList(totalReads = totalReads, methReads = methReads),
    rowRanges = rowRanges, colData = colData, metadata = list()))
}

#' @rdname cBSData-method
#' @aliases cBSData-method cBSData
setMethod("cBSData",
    signature(methReads = "matrix",
        totalReads = "matrix",
        rowRanges = "GRanges"),
    .cBSData)

Try the DMCHMM package in your browser

Any scripts or data that you put into this service are public.

DMCHMM documentation built on Nov. 8, 2020, 8:20 p.m.