response.enrichment {netresponse} | R Documentation |
Calculate enrichment values for a specified sample group in the given response.
response.enrichment( total.samples, response.samples, annotated.samples, method = "hypergeometric" )
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. |
List with enrichment statistics, depending on enrichment method.
Leo Lahti leo.lahti@iki.fi
See citation('netresponse')
order.responses
#enr <- response.enrichment(subnet.id, models, sample, response, method)