reading_GTR: Reading and parsing gtr database.

View source: R/gene_extract.r

reading_GTRR Documentation

Reading and parsing gtr database.

Description

Reading and parsing gtr database.

Usage

reading_GTR(
  gtr,
  downloadGTR,
  url_gtr = "ftp://ftp.ncbi.nlm.nih.gov/pub/GTR/data/test_condition_gene.txt"
)

Arguments

gtr

character gtr database location.

downloadGTR

logical if true, downloads gtr database, . and store data in the gtr location, else reads dataset from gtr location.

url_gtr

character url for gtr database.

Value

Dataframe representation of gtr database.

Examples

a <- reading_GTR(
   gtr  = system.file("extdata", "gtrDatabase.txt", package="nanotatoR"),
   downloadGTR = FALSE)

VilainLab/nanotatoR documentation built on Aug. 3, 2024, 12:46 a.m.