shared_pairwise_annotations: Construct a matrix of shared pairwise annotation counts

Description Usage Arguments Value

View source: R/shared_pairwise_annotations.R

Description

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.

Usage

1
shared_pairwise_annotations(annotations, annotation_pairs)

Arguments

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

Value

a matrix containing the total number of shared pairwise annotations between each unique gene or protein pair


skinnider/flavin documentation built on May 6, 2019, 10:49 a.m.