test_exposureAffected: Test significance of association

Description Usage Arguments Value Examples

View source: R/basic_functions.R

Description

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

Usage

1
2
3
4
5
6
test_exposureAffected(
  in_exposure_vector,
  in_affected_PIDs,
  in_mutation_label = NULL,
  in_exposure_label = NULL
)

Arguments

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 find_affected_PIDs

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

Value

A list with entries:

Examples

1

YAPSA documentation built on Nov. 8, 2020, 4:59 p.m.