View source: R/01_flowgraph_accessors.R
fg_get_feature | R Documentation |
Retrieves a feature matrix from a given flowGraph object, the feature type, and feature name.
fg_get_feature(fg, type = "node", feature = "count")
fg |
flowGraph object. |
type |
A string indicating feature type 'node' or 'edge'. |
feature |
A string indicating feature name; |
Returns NULL
if the requested feature does not exist.
A numeric matrix of the specified feature values.
flowGraph-class
fg_get_feature_desc
fg_add_feature
fg_rm_feature
fg_get_summary
data(fg_data_pos30)
fg <- flowGraph(fg_data_pos30$count, class=fg_data_pos30$meta$class,
prop=FALSE, specenr=FALSE,
no_cores=1)
feature_matrix <- fg_get_feature(fg, type='node', feature='count')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.