response.enrichment {netresponse} | R Documentation

## Enrichment for a specified sample group in the given response.

### Description

Calculate enrichment values for a specified sample group in the given response.

### Usage

    response.enrichment(total.samples, response.samples, annotated.samples,
      method = "hypergeometric")

### Arguments

`total.samples` | All samples in the data
`response.samples` | Samples in the investigated subset
`annotated.samples` | Samples at the investigated annotation level for enrichment calculation
`method` | Enrichment method.

### Value

List with enrichment statistics, depending on enrichment method.

### Author(s)

Leo Lahti leo.lahti@iki.fi

### References

See citation("netresponse")

### See Also

order.responses

### Examples

    #enr <- response.enrichment(subnet.id, models, sample, response, method)

[Package netresponse version 1.40.0 Index]