#' Convert: \code{SummarizedExperiment} ==> \code{SingleCellExperiment}
#'
#' @inheritParams converters
#' @export
#' @examples
#' obj <- example_obj("se")
#' obj2 <- se_to_sce(obj)
se_to_sce <- function(obj,
verbose=TRUE){
if(methods::is(obj,"SingleCellExperiment")) {
obj2 <- check_se_rownames(obj,
verbose = verbose)
return(obj2)
}
messager_to()
obj2 <- methods::as(obj,"SingleCellExperiment")
obj2 <- check_se_rownames(obj2, verbose = verbose)
return(obj2)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.