Skip to contents

[Experimental]

This helper function wraps SummarizedExperiment objects into an a MultiAssayExperiment (MAE) object.

Usage

wrap_in_mae(x, name = deparse(substitute(x)))

Arguments

x

(SummarizedExperiment)
input to create the MAE object from.

name

(string)
experiment name to use in the MAE for x.

Value

The MAE object with the only experiment being x having the given name.

Examples

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