getGeneName: Get gene for each SNP

Description Usage Arguments Value Examples

View source: R/gene_annotation.R

Description

Get the gene name based on the chr name and mutation position, which can be used for the SNP annotation

Usage

1
getGeneName(chr, mutated_positions, gene_annotation = gene_feature0)

Arguments

chr

A string containing chromsome name

mutated_positions

A number containing the mutated position

gene_annotation

A dataframe with detailed gene annotation for sec-s288

Value

A string represents gene name

Examples

1
2
data('gene_feature0')
getGeneName(chr='chrI',mutated_positions=120983,  gene_annotation = gene_feature0)

hongzhonglu/Yeastspot3D documentation built on March 28, 2020, 6:06 p.m.