pt_columns: List the column names for a table in the PubTator sqlite...

Description Usage Arguments Value Examples

View source: R/pt_columns.R

Description

List the column names for a table in the PubTator sqlite database

Usage

1
pt_columns(db_con, table_name)

Arguments

db_con

A connection to the PubTator sqlite database, as created via pubator_connector.

table_name

The name of the table of interest. Valid tables can be found using pt_tables. Capitalization does not matter.

Value

A character vector of the column names for a given table.

Examples

1
2
db_con <- pt_connector(pt_path)
pubtator_columns(db_con, "gene")

pubtatordb documentation built on Dec. 1, 2019, 1:17 a.m.