Learn R Programming

netresponse (version 1.32.2)

plot_associations: Association strength between category labels and responses.

Description

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.

Usage

plot_associations(x, subnet.id, labels, method = "hypergeometric",
  mode = "group.by.classes", ...)

Arguments

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_

Value

  • Used for side effect (plotting).

References

See citation("netresponse").

See Also

plot_responses

Examples

Run this code
#

Run the code above in your browser using DataLab