as.DatasetExperiment-SummarizedExperiment-method: Convert a SummarizedExperiment to DatasetExperiment

as.DatasetExperiment,SummarizedExperiment-methodR Documentation

Convert a SummarizedExperiment to DatasetExperiment

Description

The assay data is transposed, and colData and rowData switched to match. struct specific slots such as "name" and "description" are extracted from the metaData if available. NB Any additional metadata will be lost during this conversion.

Usage

## S4 method for signature 'SummarizedExperiment'
as.DatasetExperiment(obj)

Arguments

obj

a SummarizedExperiment object

Value

a DatasetExperiment object


computational-metabolomics/struct documentation built on March 27, 2024, 4:26 p.m.