shared_annotations: Construct a matrix of shared annotation counts

Description Usage Arguments Value

View source: R/shared_annotations.R

Description

Given an annotation list, where the name of the gene or protein corresponds to the names of the list, and the annotations (e.g., GO term) are items within the list, this function constructs a square matrix wherein the gene or protein identifiers are the row and column names of the matrix, and the entries within the matrix are the total number of annotations (e.g., GO terms) shared by each pair of genes or proteins.

Usage

1

Arguments

ann

a list of annotations, as described above

Value

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


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