callMesh: Retrieve Mesh from PubChem

Description Usage Arguments Value Author(s) Examples

Description

retrieve Mesh terms for a given PubChem CID from PubChem

Usage

1
callMesh(pcid)

Arguments

pcid

a string of PubChem CID

Value

list of data frame of nodes and data frame of edges with the following components:

nodes:

id = mesh id

gid = mesh id

nodename = mesh name

nodelabel = Mesh

nodexref = mesh id

annotation_size = total number of PubChem CIDs in each Mesh term

background_size = total number of PubChem CIDs

edges:

source, target = node

type = ANNOTATION

datasource = PUBCHEM

Return empty list of data frame if error or found nothing.

Author(s)

Kwanjeera W kwanich@ucdavis.edu

Examples

1
# mesh = callMesh(345)

kwanjeeraw/metabox documentation built on May 20, 2019, 7:07 p.m.