Description Usage Arguments Details Author(s)
Enrichment Testing
1 2 | enrichTest(x, clust.col, noise.clust.id = NULL, cat.col,
equal.props = FALSE, alternative = "greater")
|
x |
data.frame/matrix. Data to be tested against, should contain column of cluster IDs and categorical/annotation column. |
clust.col |
character vector. Column name in x containing the cluster ID's. |
noise.clust.id |
character. ID of noise clusters if present (i.e DBscan ID's noise as "0"). If NULL this will not be used. Default is NULL. |
cat.col |
character vector. Column name in x with the categorical (factor) data to be tested for enrichment. |
equal.props |
logical/boolean. If TRUE binomial test will use an equal hypothesised probability of success in the binomial test, if FALSE binomial test uses the global proportion (including the noise points if present). Default is FALSE. Note: The hypergeometric test will always use the global proportion. |
alternative |
character. Indicates alternative hypothesis of binomial test. Must be one of "two.sided", "greater", or "less". You can specify just the initial letter.Default is "greater" |
For the binomial test,
Julian Spagnuolo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.