count_Mut: Count mutatin per patient or per mutation tri-nuclear...

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Count mutatin per patient or per mutation tri-nuclear context.

Usage

1
count_Mut(mut, gid = NULL, sampleN = NULL, byContext = FALSE)

Arguments

mut

data frame contain mutation info which must contain 'Start_Position' and 'Tumor_Sample_Barcode' or exomeGene - data.frame.

gid

default is NULL. provide gid list

sampleN

default is NULL. Provide list of sample name. This parameter is only useful when byContext is FALSE

byContext

A boolen. If TRUE, the number of mutation per tri-nucleotide context will be reported. If FALSE, the number of mutation per patient will be reported. Default is FALSE.

Value

mutCount data.frame contain number of mutation for each patient or a vector contains number of mutation per tri-nucleotide context

Examples

1
2
3
4
## Not run: 
count_Mut(mut)

## End(Not run)

bioinform/ecTMB documentation built on Aug. 29, 2021, 6:17 p.m.