View source: R/01_flowgraph_modifiers.R
fg_gsub_ids | R Documentation |
Replace sample id's in a flowGraph object.
fg_gsub_ids(fg, ids_new, ids_old = NULL)
fg |
flowGraph object. |
ids_new |
A string vector of new sample id's; if |
ids_old |
A string vector of old sample id's the user wants to replace;
these marker names corresponding to those
in |
flowGraph object with sample id's replaced.
flowGraph-class
fg_get_feature_desc
fg_gsub_markers
no_cores <- 1
data(fg_data_pos30)
fg <- flowGraph(fg_data_pos30$count, class=fg_data_pos30$meta$class,
prop=FALSE, specenr=FALSE,
no_cores=no_cores)
fg <- fg_gsub_ids(fg, ids_new=paste0(fg_get_meta(fg)$id, "_new"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.