pubtatordb (version 0.1.3)

pt_to_sql: Create sqlite database from the pubtator data.

Description

Create sqlite database from the pubtator data.

Usage

pt_to_sql(pt_path, skip_behavior = TRUE, remove_behavior = FALSE)

Arguments

pt_path

A character string indicating the full path of the directory containing the pubtator gz files to be extracted.

skip_behavior

TRUE/FALSE indicating whether the file should be re-extracted if it has already been extracted.

remove_behavior

TRUE/FALSE indicating whether the gz files should be removed following successful extraction.

Examples

Run this code
# NOT RUN {
download_path <- tempdir()
current_dir <- getwd()
setwd(download_path)
pt_to_sql("PubTator")
setwd(current_dir)
# }

Run the code above in your browser using DataLab