View source: R/AntibodyForests_overlap.R
AntibodyForests_overlap | R Documentation |
Similar to the AntibodyForests_node_transitions function, will calculate the incidence of features across undirected edges. In this case, each edge will be considered a unique species - with incidence counts across each unique feature value if a specific edge is connected to a node with that feature. Overlap metrics are then calculated for this edge-feature incidence matrix.
AntibodyForests_overlap(trees, group.by, method)
trees |
nested list of AntibodyForests objects, as obtained from the AntibodyForests function. |
group.by |
vector of strings - node features to group the edges by (counts edge incidence across the unique feature values for the specified node feature). |
method |
string - overlap calculator: 'overlap' for unique/public edge counts across the feature values, 'jaccard' to calculate the Jaccard index. |
Edge overlap heatmaps for the specific overlap metric/method.
## Not run: AntibodyForests_overlap(trees, group.by = 'seurat_clusters', method = 'jaccard') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.