This helper function wraps SummarizedExperiment objects into an
a MultiAssayExperiment (MAE) object.
wrap_in_mae(x, name = deparse(substitute(x)))(SummarizedExperiment)
input to create the MAE object from.
(string)
experiment name to use in the MAE for x.
The MAE object with the only experiment being x having the given
name.
mae <- wrap_in_mae(summarized_experiment)
mae[["summarized_experiment"]]
#> class: SummarizedExperiment
#> dim: 5085 20
#> metadata(0):
#> assays(1): counts
#> rownames(5085): GeneID:11185 GeneID:10677 ... GeneID:9087 GeneID:9426
#> rowData names(12): HGNC HGNCGeneName ... chromosome_name
#> LowExpressionFlag
#> colnames(20): 06520011B0023R 06520067C0018R ... 06520015C0016R
#> 06520019C0023R
#> colData names(74): Filename SampleID ... LowDepthFlag
#> TechnicalFailureFlag