Learn R Programming

ENVISIONQuery (version 1.20.0)

getIdEntries: Retrieve a set of all ID entries...

Description

Retrieve a set of all ID entries

Usage

getIdEntries(entry, nodeName="molecule", primaryAttr="id", dataAttrs=c("id", "db"))

Arguments

entry
The 'Entry' node of the Enfin xml document.
nodeName
The name identifying the node containing the ID info. Default is 'molecule'.
primaryAttr
The name of attribute which is used as row names of the output data frame. Default is 'id' standing for gene ID
dataAttrs
The names of the attributes which values are to be retrieved. Default is c('id','db'), i.e. gene ID and data base source.

Value

with row names corresponding to the Enfin xml reference names.