View source: R/add_sample_metadata.R
add_sample_metadata | R Documentation |
Add data frame with sample metadata to an SCE object
add_sample_metadata(sce, metadata_df)
sce |
SingleCellExperiment object to add metadata too |
metadata_df |
A dataframe with metadata to add to the sce. Must contain a column named 'sample_id'. |
SingleCellExperiment object with a 'metadata_df' added to the 'sample_metadata' slot of the metadata list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.