Converts a SingleCellExperiment object to a MAMS object
convert_SCE_to_MAMS.Rd
Converts a SingleCellExperiment object to a MAMS object
Arguments
- object_list
A named list of SingleCellExperiment objects to be converted to MAMS format
- observation_subsets
A vector with same length as object_list indicating the observation subset name for each SingleCellExperiment object. One of: full, filtered, threshold, detected, nonartifact, clean.
- dataset_id
Specify id of the dataset
Examples
if (FALSE) { # \dontrun{
library(SingleCellExperiment)
counts <- matrix(rpois((500*200), 1), nrow = 500, ncol = 200,
dimnames = list(paste0("Row", 1:500), paste0("Col", 1:200)))
sce <- SingleCellExperiment(list(counts=counts))
sce <- scuttle::logNormCounts(sce)
subset_sce <- sce[, 1:100]
mams <- convert_SCE_to_MAMS(object_list = list(sce = sce,
subset_sce = subset_sce), observation_subsets = c("full", "subset"),
dataset_id = "dataset1")
print(mams)
} # }