factor.responses.minimal: Factor responses (minimal)

Description Usage Arguments Value Author(s) References Examples

View source: R/factor.responses.minimal.R

Description

List responses for each level of the given factor

Usage

1
2
3
4
5
6
7
factor.responses.minimal(
  annotation.vector,
  groupings,
  method = "hypergeometric",
  min.size = 2,
  data = NULL
)

Arguments

annotation.vector

annotation vector with discrete factor levels, and named by the samples

groupings

List of groupings. Each model should have a sample-cluster assignment matrix qofz, or a vector of cluster indices named by the samples.

method

method for enrichment calculation

min.size

minimum sample size for a response

data

data (samples x features; or a vector in univariate case)

Value

List with each element corresponding to one factor level and listing the responses according to association strength

Author(s)

Contact: Leo Lahti leo.lahti@iki.fi

References

See citation('netresponse')

Examples

1
res <- factor.responses.minimal(annotation.vector = NULL, groupings = NULL)

netresponse documentation built on Nov. 8, 2020, 5:04 p.m.