get_table-methods: Method to obtain a specific inner table from a 'CTDdata'...

Description Usage Arguments Details Value Examples

Description

Obtain the raw data from a CTDdata object, result from a query to CTDbase.

Usage

1
get_table(object, index_name, ...)

Arguments

object

Object of class CTDdata.

index_name

String indicating the type of data to obtain.

...

NOT USED

Details

Available tables are (index_name):

  1. "gene interactions": (Only for chemicals) Table with a relation of the genes interacting with the given chemicals.

  2. "chemical interactions": (Only for genes) Table with a relation of the chemicals interacting with the given genes.

  3. "diseases": Table with a relation of the diseases associated with given genes or chemicals.

  4. "gene-gene interactions": (Only for genes) Table with a relation of the genes interacting with the given genes.

  5. "kegg pathways": Table with a relation of the KEGG pathways affected by the given chemicals or where the given genes play a role.

  6. "go terms": Table with a relatio of the GO terms afected by the given chemicals or where the given genes play a role.

Value

A DataFrame containing the raw result from CTDdata.

Examples

1
2
data("gala")
get_table(gala, "diseases")[1:3, ]

CTDquerier documentation built on Oct. 31, 2019, 2:57 a.m.