.fix_all_results {ActiveDriverWGS}R Documentation

fix_all_results verifies that the results table has the correct format and p-values

Description

fix_all_results verifies that the results table has the correct format and p-values

Usage

.fix_all_results(all_results)

Arguments

all_results

a data frame containing the following columns

id

A string identifying the element of interest

pp_element

The p-value of the element

element_muts_obs

The number of patients with a mutation in the element

element_muts_exp

The expected number of patients with a mutation in the element with respect to background

element_enriched

A boolean indicating whether the element is enriched in mutations

pp_site

The p-value of the element

site_muts_obs

The number of patients with a mutation in the site

site_muts_exp

The expected number of patients with a mutation in the site with respect to element

site_enriched

A boolean indicating whether the site is enriched in mutations

result_number

A numeric indicator denoting the order in which the results were calculated

Value

the same data frame


[Package ActiveDriverWGS version 1.1.2 Index]