gtr_gene: Extracting genes from gtr database NCBI.

View source: R/gene_extract.r

gtr_geneR Documentation

Extracting genes from gtr database NCBI.

Description

Extracting genes from gtr database NCBI.

Usage

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

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 Aug. 2, 2024, 8:45 p.m.