wrap_in_mae: Wrap in MAE

View source: R/utils.R

wrap_in_maeR Documentation

Wrap in MAE

Description

[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"]]

insightsengineering/hermes documentation built on Sept. 19, 2024, 9:06 p.m.