annovar: Annotate Genes

Description Usage Arguments Details Value Author(s) Examples

View source: R/annovar.R

Description

Annotate Genes

Usage

1
2
3
4
5
6
7
annovar(
  bim,
  out,
  build = "hg19",
 
    ref_annovar = "~/cmcouto.silva@usp.br/lab_files/datasets/Reference_annotation/annovar"
)

Arguments

bim

Scalar character. Path to Plink bim file.

out

Scalar character with desired name for the output file (without extension).

build

Scalar character. Build version of the downloaded human database (e.g. hg18 or hg19).

ref_annovar

Scalar character. Path to the folder with downloaded ANNOVAR database.

Details

ANNOVAR (annotate_variation.pl) must be installed on the system path.

Value

Tidy text file with chromosome, position, gene and its functional location.

Author(s)

CainĂ£ Max Couto-Silva

Examples

1
2
3
4
5
6
7
8
## Not run: 
dir.create(annot)
bim <- "path_to_bim_file/file.bim"
out <- "annot/my_annotation" # can be missing, then directory with bim file will be taken

annovar(bim, out, build = "hg19", ref_annovar = "path_to_humandb/")

## End(Not run)

cmcouto-silva/gt documentation built on June 6, 2021, 7:14 p.m.