View source: R/data_handling.R
Given a Seurat object, add information about our experiments.
1 2 | add_maehrlab_metadata(dge, variable_to_add, new_name = NULL,
NA_strings = c("NA", ""), maehrlab_metadata = get_metadata())
|
It looks in 'get_metadata()' for a column named 'variable_to_add' and adds that variable to @data.info with the name 'new_name' (default is 'variable_to_add'). It finds the right cells by matching "Sample_ID" to "orig.ident".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.