Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getPMInfo

extract publication details and abstract from annotate::pubmed function output


Description

extract publication details and abstract from annotate::pubmed function output

Usage

getPMInfo(x)

Arguments

x

an object of class xmlDocument; assumed to be result of a pubmed() call

Details

uses xmlDOMApply to extract and structure key features of the XML tree returned by annotate::pubmed()

Value

a list with one element per pubmed id processed by pubmed. Each element of the list is in turn a list with elements for author list, title, journal info, and abstract text.

Note

this should be turned into a method returning an instance of a formal class representing articles.

Author(s)

Vince Carey <stvjc@channing.harvard.edu>

Examples

demo <- pubmed("11780146", 
    "11886385", "11884611")
getPMInfo(demo)

annotate

Annotation for microarrays

v1.68.0
Artistic-2.0
Authors
R. Gentleman
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.