Usage
order.responses(models, sample, method = "hypergeometric", min.size = 2,
max.size = Inf, min.responses = 2, subnet.ids = NULL, verbose = FALSE,
data = NULL)
Arguments
models
List of models. Each model should have a sample-cluster assignment matrix qofz.
sample
Measure enrichment of this sample (set) across the observed
responses.
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)))
min.size, max.size, min.responses
Optional parameters to filter the
results based on subnet size and number of responses.
subnet.ids
Specify subnets for which the responses shall be ordered.
By default, use all subnets.
verbose
Follow progress by intermediate messages.
data
data (samples x features; or a vector in univariate case)