get_drivers: Extract drivers data.

View source: R/drivers.R

get_driversR Documentation

Extract drivers data.

Description

Returns a tibble with the drivers annotated on certain chromosomes, extracting VAF or CCF values (if computed). If drivers are not annotated NULL is returned.

Usage

get_drivers(x, chromosomes = paste0("chr", c(1:22, "X", "Y")), which = "VAF")

Arguments

x

A CNAqc object.

chromosomes

Which chromosomes to subset.

which

A keyword for "VAF" or "CCF".

Value

A tibble

Examples

data('example_dataset_CNAqc', package = 'CNAqc')
x = init(mutations = example_dataset_CNAqc$mutations, cna = example_dataset_CNAqc$cna, purity = example_dataset_CNAqc$purity)

get_drivers(x)

caravagnalab/CNAqc documentation built on Oct. 31, 2024, 3:54 a.m.