File: buildPubMedAbst.Rd

package info (click to toggle)
r-bioc-annotate 1.84.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,624 kB
  • sloc: makefile: 2
file content (31 lines) | stat: -rw-r--r-- 793 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
\name{buildPubMedAbst}
\alias{buildPubMedAbst}
\title{A function to generate an instantiation of a pubMedAbst class }
\description{
  This function will take in a XML tree object and will create an
  instance of a pubMedAbst class.  This instance is returned to the caller.
}
\usage{
  buildPubMedAbst(xml)
}
\arguments{
  \item{xml}{A XMLTree object that corresponds to a Pubmed abstract.}
}
\value{
  This function returns an instantiation of a pubMedAbst object to the
  caller.
}

\author{ Jeff Gentry }
\seealso{\code{\link{pubmed}},\code{\link{genbank}}}
\examples{
   x <- pubmed("9695952","8325638","8422497")
   a <- xmlRoot(x)
   numAbst <- length(xmlChildren(a))
   absts <- list()
   for (i in 1:numAbst) {
      absts[[i]] <- buildPubMedAbst(a[[i]])
   }

}
\keyword{ utilities }