R/cBSDMCs-method.R

Defines functions cBSDMCs

Documented in cBSDMCs

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

#' @rdname cBSDMCs-method
#' @aliases cBSDMCs-method cBSDMCs
setMethod("cBSDMCs", signature(methReads = "matrix", totalReads = "matrix",
    methLevels = "matrix", methStates = "matrix", rowRanges = "GRanges"),
    .cBSDMCs)
shokoohi/DMCHMM documentation built on Sept. 1, 2017, 12:52 p.m.