View source: R/01_flowgraph_modifiers.R
fg_replace_meta | R Documentation |
Replaces sample meta in a given flowGraph object.
fg_replace_meta(fg, meta)
fg |
flowGraph object. |
meta |
A data frame containing meta data; see details in
|
A flowGraph object with an updated sample meta.
flowGraph-class
fg_get_meta
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)
head(fg_get_meta(fg))
new_df <- fg_data_pos30$meta
new_df$id[1] <- "newID"
fg <- fg_replace_meta(fg, new_df)
head(fg_get_meta(fg))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.