previousabs_fn: To Retrieve the Abstracts from the large corpus for given...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/previousabs_fn.R

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

1
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

1
2
3
## 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.

pubmed.mineR documentation built on Nov. 26, 2021, 5:11 p.m.