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

Description Usage Arguments Value Author(s)

View source: R/formatEnXML.R

Description

Retrieve a set of all ID entries

Usage

1
2
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

Data frame with a single column containing all (input and output) IDs. with row names corresponding to the Enfin xml reference names.

Author(s)

Alex Lisovich, Roger Day


ENVISIONQuery documentation built on Nov. 8, 2020, 5:25 p.m.