plot_associations {netresponse} | R Documentation |
Plot association strength between user-defined category labels and responses in a selected subnetwork. Associations are showm in terms -log10(p) enrichment values for the annotation categories for the responses within the specified subnetwork. No correction for multiple testing.
plot_associations(x, subnet.id, labels, method = "hypergeometric", mode = "group.by.classes", ...)
x |
NetResponseModel object |
subnet.id |
Subnetwork. |
labels |
Factor. Labels for the data samples. Name by samples, or provide in the same order as in the original data. |
method |
Method to calculate association strength. |
mode |
group.by.responses or group.by.classes: indicate barplot grouping type. |
... |
Other arguments to be passed for plot_ |
Used for side effect (plotting).
Leo Lahti leo.lahti@iki.fi
See citation("netresponse").
plot_responses
#