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