methods-Paper: Paper methods

Description Usage Arguments Value Examples

Description

Methods to work with a Paper. getFullPaper returns the full paper as a string. getSentences returns the full paper in a vector separating each sentence.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
"methods-Paper"(paper)

getFullPaper(paper)

## S4 method for signature 'Paper'
getFullPaper(paper)

getSentences(paper)

## S4 method for signature 'Paper'
getSentences(paper)

Arguments

paper

a Paper object.

Value

string, or character vector.

Examples

1
2
3
4
5
6
7
8
9
## Create a PaperDownloader to query for two entities relations
entities <- c('terminal differentiation', 'basal-like');
pprDldr <- PaperDownloader(entities=entities, papersDir='/tmp/pmcERR/');

## Get the first paper
papers <- getPapers(pprDldr, n=1);
paper <- papers[[1]];

getSentences(paper);

jcrodriguez1989/pmcERR documentation built on May 20, 2019, 10:20 p.m.