View source: R/convert_mass_dataset2summarizedexperiment.R
convert_mass_dataset2summarizedexperiment | R Documentation |
This function converts a mass_dataset
object to a SummarizedExperiment
object.
It extracts the sample_info
, variable_info
, and expression_data
from the mass_dataset
object
and constructs a new SummarizedExperiment
object.
convert_mass_dataset2summarizedexperiment(object)
object |
A |
The function checks if the input object is of class mass_dataset
. If it is, it extracts the sample_info
,
variable_info
, and expression_data
and uses these to create a new SummarizedExperiment
object.
A SummarizedExperiment
object containing the same data as the input mass_dataset
object.
Xiaotao Shen shenxt1990@outlook.com
## Not run:
# Assuming 'dataset' is a mass_dataset object
summarized_experiment <- convert_mass_dataset2summarizedexperiment(dataset)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.