.methReads <- function(object) {
return(assays(object)$methReads)
}
.replace.methReads <- function(object, value) {
assays(object, withDimnames = FALSE)$methReads <- value
return(object)
}
#' @rdname methReads-method
#' @aliases methReads-method methReads
setMethod("methReads", signature(object = "BSDMC"), .methReads)
#' @rdname methReads-method
#' @aliases methReads-method methReads<-
setReplaceMethod(
"methReads", signature(object = "BSDMC", value = "matrix"),
.replace.methReads
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.