View source: R/metadata_to_coldata.R
metadata_to_coldata | R Documentation |
Add sample metadata to colData of SCE object
metadata_to_coldata(sce, join_columns = "library_id")
sce |
SingleCellExperiment object to add sample metadata to colData. Must contain the 'batch_column' as a column in 'colData'. |
join_columns |
A character vector giving the name(s) of the column(s) in colData to use for joining with the 'sample_metadata'. Default is 'library_id' |
SingleCellExperiment object with the contents of 'metadata(sce)$sample_metadata' added as new columns to the 'colData(sce)'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.