View source: R/func__networkAnalyser__countGeneClassLinks.R
countGeneClassLinks | R Documentation |
This function is useful in summarising connections between gene classes (for example, antimicrobial classes) based on a network.
countGeneClassLinks(net, mapping, out.matrix = FALSE)
net |
A Graph object, or a data frame whose first two columns are names of allele Y (response variable) and X (explanatory variable). |
mapping |
A data frame mapping allele names to gene classes. It can be the data frame "mapping" in the output list of findPhysLink. |
out.matrix |
A logical argument determining whether a square matrix or a data frame is returned. |
A data frame of three columns: Class_y and Class_x, the target and source gene class, respectively; Links, link counts per kind of edge (Class_y, Class_x).
Yu Wan (wanyuac@126.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.