plot_associations {netresponse} | R Documentation

## 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).

### Author(s)

Leo Lahti leo.lahti@iki.fi

### References

See citation('netresponse').

### See Also

plot_responses

### Examples

    #

[Package netresponse version 1.54.0 Index]