Description Usage Arguments Value Examples
View source: R/basic_functions.R
Test significance of association between a vector of exposures and a
selection of samples, e.g. those affected by mutations in a pathway as
returned by find_affected_PIDs
1 2 | test_exposureAffected(in_exposure_vector, in_affected_PIDs,
in_mutation_label = NULL, in_exposure_label = NULL)
|
in_exposure_vector |
Named vector of a phenotype (e.g. exposures to a specific signature) |
in_affected_PIDs |
Character vector of samples affected by some criterion, e.g. mutations in a
pathway as returned by |
in_mutation_label |
If non-NULL, prefix to the mutation status (x-axis label) in the produced boxplot |
in_exposure_label |
If non-NULL, prefix to the exposures (y-axis label) in the produced boxplot |
A list with entries:
current_kruskal
:
Kruskal test object from testing phenotype against affection
current_boxplot
:
Boxplot of phenotype against affection
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.