Description Usage Arguments Value
View source: R/shared_annotations.R
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.
1 | shared_annotations(ann)
|
ann |
a list of annotations, as described above |
a sparse matrix containing the total number of shared 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.