fg_feat_edge_prop | R Documentation |
Generates the proportion edge feature and returns it inside the flowGraph object.
fg_feat_edge_prop(fg, no_cores = 1, overwrite = FALSE)
fg |
flowGraph object. |
no_cores |
An integer indicating how many cores to parallelize on. |
overwrite |
A logical variable indicating whether to overwrite the existing proportion edge feature if it exists. |
Given a flowGraph object, fg_feat_edge_prop
returns the same
flowGraph object with an additional proportions prop
edge
feature and its meta data. The proportions feature is
made using the node count
feature and is the cell count of each cell population (e.g. A+B+)
over the cell count of its parent (e.g. A+);
each edge then corresponds with such a relationship.
The edge feature matrix has column names <from>_<to> e.g. A+_A+B+.
flowGraph object containing the proportion edge feature.
flowGraph-class
fg_feat_node_prop
fg_feat_node_specenr
fg_add_feature
fg_get_feature
fg_rm_feature
fg_get_feature_desc
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_feat_edge_prop(fg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.