Learn R Programming

netresponse (version 1.32.2)

response.enrichment: 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.

References

See citation("netresponse")

See Also

order.responses

Examples

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

Run the code above in your browser using DataLab