countDriverSNVs: Counting driver activating mutations

Description Usage Arguments Value Examples

View source: R/countDriverSNVs.R

Description

Counts the number of driver activating mutations in a gene or in total

Usage

1
countDriverSNVs(drivers, per_gene = F, tri = F)

Arguments

drivers

Dataframe with 2 columns. First column must be gene ID and second the mutations

per_gene

Indicating if driver mutations are counted per gene, default is FALSE

Value

Table of counts of the 6 mutation types 'C>A', 'C>G, 'C>T, 'T>A', 'T>C', 'T>G'

Examples

1
2
drivers = data.frame(gene=c('ABL1','ABL1'),gdna=c('G>A','A>G'), stringsAsFactors=FALSE)
countDriverSNVs(drivers)

bastiaanvdroest/DriverProbabilities documentation built on Dec. 8, 2019, 10:29 a.m.