Description Usage Arguments Value
View source: R/shared_pairwise_annotations.R
This function is related to shared_annotations
, but whereas
that function calculates the total number of annotations shared by each
pair of genes or proteins, this function calculates the total number of
pairwise annotations shared by each gene or protein pair. These are
annotations that are only interpretable in a pairwise manner: for instance,
interactions between Pfam domains.
1 | shared_pairwise_annotations(annotations, annotation_pairs)
|
annotations |
a list of annotations, with the names of the list corresponding to nodes in the network and entries corresponding to annotations |
annotation_pairs |
a binary or logical matrix |
a matrix containing the total number of shared pairwise annotations between each unique gene or protein pair
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.