View source: R/enrichment.list.factor.minimal.R
enrichment.list.factor.minimal | R Documentation |
Orders the responses by association strength (enrichment score) to a given sample set. For instance, if the samples correspond to a particular experimental factor, this function can be used to prioritize the responses according to their association strength to this factor.
enrichment.list.factor.minimal(
groupings,
method,
verbose = FALSE,
annotation.vector,
level
)
groupings |
List of groupings. Each model should have a sample-cluster assignment matrix qofz. |
method |
'hypergeometric' measures enrichment of factor levels in this response; 'precision' measures response purity for each factor level; 'dependency' measures logarithm of the joint density between response and factor level vs. their marginal densities: log(P(r,s)/(P(r)P(s))) |
verbose |
Follow progress by intermediate messages. |
annotation.vector |
annotation vector |
level |
level |
A data frame which gives a data frame of responses ordered by enrichment score for the investigated sample. The model, response id and enrichment score are shown. The method field indicates the enrichment calculation method. The sample field lists the samples et for which the enrichments were calculated. The info field lists additional information on enrichment statistics.
Leo Lahti leo.lahti@iki.fi
See citation('netresponse') for citation details.
res <- enrichment.list.factor.minimal(groupings = NULL,
method = NULL,
annotation.vector = NULL,
level = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.