previousabs_fn {pubmed.mineR}R Documentation

To Retrieve the Abstracts from the large corpus for given years.

Description

This function is used to extract the abstracts from the large corpus excluding the years and under a given theme. Its output is used in other functions like BWI and genes_BWI

Usage

previousabs_fn(yrs_to_exclude, theme, parentabs)

Arguments

yrs_to_exclude

yrs_to_exclude is abstracts for the list of years we want to exclude from the corpus

theme

theme is a character value specifying the themes for the Abstracts.

parentabs

parentabs an S4 object containing the Abstracts.

Value

It returns an S4 object containing the abstracts of the given year.

Author(s)

S.Ramachandran

See Also

currentabs_fn

Examples

## Not run: test = previousabs_fn(as.character(2015:2010), "atherosclerosis", diabetesabs
## here we will get the abstracts before 2010 for 'atherosclerosis'
## from the large corpus diabetesabs.

[Package pubmed.mineR version 1.0.20 Index]