fg_rm_summary {flowGraph} | R Documentation |
Removes a feature summary from a given flowGraph object;
while fg
is required, the user can choose to input parameters
summary_meta
, index
, or all of type
,
feat
, test_name
, class
, label1
,
and label2
.
See fg_get_summary_desc
for details.
fg_rm_summary(fg, type = "node", index = NULL, summary_meta = NULL)
fg |
flowGraph object. |
type |
A string indicating feature type the summary was created for; 'node' or 'edge'. |
index |
The user must provide
|
summary_meta |
The user must provide
|
flowGraph object.
flowGraph-class
fg_get_summary
fg_add_summary
fg_get_summary_desc
fg_rm_feature
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_summary(fg, no_cores=no_cores, class="class", label1="control", overwrite=FALSE, test_name="wilcox_byLayer", diminish=FALSE, node_features=NULL, edge_features=NULL) fg_get_summary_desc(fg) fg <- fg_rm_summary(fg, summary_meta=c( feature="count",test_name="wilcox_byLayer", class="class", label1="control", label2="exp")) fg_get_summary_desc(fg)