gtr_gene: Extracting genes from gtr database NCBI.

Description Usage Arguments Value Examples

View source: R/gene_extract.r

Description

Extracting genes from gtr database NCBI.

Usage

1
gtr_gene(terms, gtr, url_gtr, downloadGTR = TRUE)

Arguments

terms

Single or Multiple Terms.

gtr

character gtr database location.

url_gtr

character url for gtr database.

downloadGTR

boolean If TRUE, download the gtr database. Default FALSE.

Value

Dataframe returned containing gene lists in entrezid and Gene Symbols, and terms associated with it

Examples

1
2
3
terms="Liver cirrhosis"
gtr = system.file("extdata", "gtrDatabase.txt", package="nanotatoR")
ge <- gtr_gene(terms = terms,gtr = gtr, downloadGTR = FALSE)

VilainLab/nanotatoR documentation built on Oct. 10, 2021, 2:18 a.m.