test_gene_list_in_exposures: Test if mutated PIDs are enriched in signatures

Description Usage Arguments Value Examples

View source: R/complex_functions.R

Description

For all signatures found in a project, this function tests whether PIDs having mutations in a specified list of genes of interest have significantly higher exposures.

Usage

1
2
3
4
5
6
7
test_gene_list_in_exposures(
  in_gene_list,
  in_exposure_df,
  in_mut_table,
  in_gene.field = "GENE_short",
  in_p_cutoff = 0.05
)

Arguments

in_gene_list

List with genes of interest

in_exposure_df

Data frame with the signature exposures

in_mut_table

Data frame or table of mutations (derived from vcf-format)

in_gene.field

Name of the column in which the gene names are to be looked up

in_p_cutoff

Significance threshold

Value

A list with entries pvals, exposure_df, number_of_mutated,

Examples

1

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