Description Usage Arguments Value See Also Examples
Methods to work with a PaperDownloader.
getPapersIds
gets the number of papers possible to download that
relate the entities. And updates the PaperDownloader.
downloadPapers
downloads the papers (n is the max desired to download).
getPapers
gets the list of downloaded Paper objects (n is the max
desired to download).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | "methods-PaperDownloader"(paperDownloader)
getPapersIds(paperDownloader)
## S4 method for signature 'PaperDownloader'
getPapersIds(paperDownloader)
downloadPapers(paperDownloader, ...)
## S4 method for signature 'PaperDownloader'
downloadPapers(paperDownloader, n = -1)
getPapers(paperDownloader, ...)
## S4 method for signature 'PaperDownloader'
getPapers(paperDownloader, n = -1)
|
paperDownloader |
a PaperDownloader object. |
... |
not in use. |
n |
(optional) numeric parameter. |
PaperDownloader object with updated values. Or a list of Paper objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Create a PaperDownloader to query for two entities relations
entities <- c('terminal differentiation', 'basal-like');
pprDldr <- PaperDownloader(entities=entities, papersDir='/tmp/pmcERR/');
## Get the number of papers possible to download, updating the pprDldr
pprDldr <- getPapersIds(pprDldr);
## Download the first 3 papers
pprDldr <- downloadPapers(pprDldr, n=3);
## Get the first 3 papers
papers <- getPapers(pprDldr, n=3);
length(papers);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.