countMut: Returns gene name and frequency of each gene types

Description Usage Arguments Value Examples

View source: R/countMut.R

Description

counMut function uses cosImport function in cosImport.R file to read from cosmic file and uses that dataframe to extract IDsymbol column and return the occurrence frequency of each gene types.

Usage

1
countMut(mutFile, hgncFile)

Arguments

mutFile

A .tsv file containing COSMIC point mutations

hgncFile

A .tsv file with complete approved human gene nomenclature IDs

Value

Returns dataframe with gene names and frequency.

Examples

1
2
3
# Using data files available in the package: "MutantData.tsv" and "HGNC.tsv"

# countMut("Data/MutantData.tsv", "Data/HGNC.tsv")

Jiyun1201/CANMutVisual documentation built on Dec. 18, 2021, 1:38 a.m.