detectEnrichmentOfMutants: Perform a Fisher's Exact test to detect groups enriched with...

Description Usage Arguments Value

View source: R/analysisWGS_detectEnrichmentOfMutants.R

Description

Perform a Fisher's Exact test to detect groups enriched with mutants (mutations / deep CNA).

Usage

1
2
3
4
5
6
detectEnrichmentOfMutants(
  mutData,
  groupInfo,
  genesOfInterest,
  minRelMutantsInGroup = 0.1
)

Arguments

mutData

(tibble): Combinedreport containing the somatic mutations per gene, per sample.

groupInfo

(tibble): Tibble containing grouping information. Needs the following columns: sample, group.

genesOfInterest

(character): List of genes (ENSEMBL/SYMBOL) for which to always look for enrichment (regardless of minRel mutants.)

minRelMutantsInGroup

(numeric): Only check enrichment for genes with >=X rel. mutants in the group.

Value

(tibble) Returns a tibble of the results from the Fisher's Exact test.


J0bbie/R2CPCT documentation built on Feb. 24, 2022, 8:15 a.m.