response.enrichment: Enrichment for a specified sample group in the given...

View source: R/response.enrichment.R

response.enrichmentR 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)

antagomir/netresponse documentation built on March 30, 2023, 7:24 a.m.