\HeaderA{pubMedAbst-class}{Class pubMedAbst, a class to handle PubMed abstracts, and methods
for processing them.}{pubMedAbst.Rdash.class}
\aliasA{abstText}{pubMedAbst-class}{abstText}
\aliasA{abstText,pubMedAbst-method}{pubMedAbst-class}{abstText,pubMedAbst.Rdash.method}
\aliasA{abstUrl}{pubMedAbst-class}{abstUrl}
\aliasA{abstUrl,pubMedAbst-method}{pubMedAbst-class}{abstUrl,pubMedAbst.Rdash.method}
\aliasA{articleTitle}{pubMedAbst-class}{articleTitle}
\aliasA{articleTitle,pubMedAbst-method}{pubMedAbst-class}{articleTitle,pubMedAbst.Rdash.method}
\aliasA{authors}{pubMedAbst-class}{authors}
\aliasA{authors,pubMedAbst-method}{pubMedAbst-class}{authors,pubMedAbst.Rdash.method}
\aliasA{journal}{pubMedAbst-class}{journal}
\aliasA{journal,pubMedAbst-method}{pubMedAbst-class}{journal,pubMedAbst.Rdash.method}
\aliasA{pmid}{pubMedAbst-class}{pmid}
\aliasA{pmid,pubMedAbst-method}{pubMedAbst-class}{pmid,pubMedAbst.Rdash.method}
\aliasA{pubDate}{pubMedAbst-class}{pubDate}
\aliasA{pubDate,pubMedAbst-method}{pubMedAbst-class}{pubDate,pubMedAbst.Rdash.method}
\aliasA{pubMedAbst}{pubMedAbst-class}{pubMedAbst}
\aliasA{pubMedAbst,pubMedAbst-method}{pubMedAbst-class}{pubMedAbst,pubMedAbst.Rdash.method}
\aliasA{show,pubMedAbst-method}{pubMedAbst-class}{show,pubMedAbst.Rdash.method}
\keyword{classes}{pubMedAbst-class}
\begin{Description}\relax
This is a class representation for PubMed abstracts.
\end{Description}
\begin{Section}{Creating Objects}
\code{ new('pubMedAbst',}\\
\code{  authors      = ...., \# Object of class vector}\\
\code{  pmid         = ...., \# Object of class character}\\
\code{  abstText     = ...., \# Object of class character}\\
\code{  articleTitle = ...., \# object of class character}\\
\code{  journal      = ...., \# Object of class character}\\
\code{  pubDate      = ...., \# Object of class character}\\
\code{  abstUrl      = ...., \# Object of class character}\\
\code{  )}
\end{Section}
\begin{Section}{Slots}
\describe{
\item[\code{pmid}:] Object of class \code{"character"} The PubMed ID
for this paper. 
\item[\code{authors}:] Object of class \code{"vector"} The authors
of the paper. 
\item[\code{abstText}:] Object of class \code{"character"} The
contained text of the abstract.  
\item[\code{articleTitle}:] Object of class \code{"character"} The
title of the article the abstract pertains to. 
\item[\code{journal}:] Object of class \code{"character"} The journal
the article was published in. 
\item[\code{pubDate}:] Object of class \code{"character"} The date the
journal was published. 
\item[\code{abstUrl}:] Object of class \code{"character"} A URL, if
one is provided, contained in the abstract. 
}
\end{Section}
\begin{Section}{Methods}
\describe{
\item[pmid] \code{signature(object = "pmid")}: An accessor function
for \code{pmid}
\item[abstText] \code{signature(object = "pubMedAbst")}: An accessor
function for \code{abstText}
\item[abstUrl] \code{signature(object = "pubMedAbst")}: An accessor
function for \code{abstUrl} 
\item[articleTitle] \code{signature(object = "pubMedAbst")}: An accessor
function for \code{articleTitle} 
\item[authors] \code{signature(object = "pubMedAbst")}: An accessor
function for \code{authors} 
\item[journal] \code{signature(object = "pubMedAbst")}: An accessor
function for \code{journal} 
\item[pubDate] \code{signature(object = "pubMedAbst")}: An accessor
function for \code{pubDate}
}
\end{Section}
\begin{Author}\relax
Jeff Gentry
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{pubmed}{pubmed}}, \code{\LinkA{genbank}{genbank}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
   x <- pubmed("9695952","8325638","8422497")
   a <- xmlRoot(x)
   numAbst <- length(xmlChildren(a))
   absts <- list()
   for (i in 1:numAbst) {
      absts[[i]] <- buildPubMedAbst(a[[i]])
   }
\end{ExampleCode}
\end{Examples}


