View source: R/01_flowgraph_modifiers.R
fg_merge_samples | R Documentation |
Merges the samples from two flowGraph objects together;
we recommend removing all summary statistics from the new flowGraph object
as those won't be adjusted: fg_clear_summary
.
fg_merge_samples(fg1, fg2)
fg1 |
flowGraph object. |
fg2 |
flowGraph object. |
Appends the samples from fg2
onto those in fg1
.
This function requires that the two flowGraph objects must have the
same phenotypes. Therefore, we recommend users to use,
instead, fg_merge
.
flowGraph object.
flowGraph-class
fg_get_feature_desc
fg_merge
fg_extract_samples
no_cores <- 1
data(fg_data_pos30)
fg0 <- flowGraph(fg_data_pos30$count, class=fg_data_pos30$meta$class,
prop=FALSE, specenr=FALSE,
no_cores=no_cores)
fg1 <- fg_extract_samples(fg0, fg_get_meta(fg0)$id[1:5])
fg2 <- fg_extract_samples(fg0, fg_get_meta(fg0)$id[4:7])
fg <- fg_merge_samples(fg1, fg2)
fg_get_feature_desc(fg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.