annotate (version 1.50.0)

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

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.

Details

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

Examples

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

Run the code above in your browser using DataLab