R/cBSDMCs-method.R

Defines functions .cBSDMCs

.cBSDMCs <- function(methReads, totalReads, methLevels, methStates, methVars,
    rowRanges, colData = DataFrame(row.names = colnames(methReads)),
    metadata = list(), ...) {
    new("BSDMCs", SummarizedExperiment(assays =
        SimpleList(methReads = methReads, totalReads = totalReads,
        methLevels = methLevels, methStates = methStates, methVars = methVars),
        rowRanges = rowRanges, colData = colData, metadata = list()))
}

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

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.