Description Usage Arguments Value
View source: R/shared_annotation_enrichment.R
Calculate the enrichment among a set of interacting proteins for shared annotations, relative to a rewired version of the same network.
1 2 | shared_annotation_enrichment(network, shared, bootstraps = 100, seed = 0,
colname = "shared")
|
network |
a data frame containing interactions between protein pairs in the first two columns |
shared |
a matrix denoting the number of shared annotations between each protein pair |
bootstraps |
the number of times to rewire the network in order to calculate the Z score; defaults to 100 |
seed |
the number to seed the rewiring algorithm with; defaults to zero |
colname |
the column name to assign to the shared annotations column created in the network data frame; defaults to "shared" |
a list with three objects: the proportion of interacting protein pairs that share GO terms in the observed network; the proportions in each randomized network; and the Z score for the enrichment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.