reading_GTR: Reading and parsing gtr database.

Description Usage Arguments Value Examples

View source: R/gene_extract.r

Description

Reading and parsing gtr database.

Usage

1
2
3
4
5
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

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

VilainLab/Nanotator documentation built on Oct. 9, 2021, 8:59 p.m.