Learn R Programming

pubmed.mineR (version 1.0.11)

currentabs_fn: To Retrive the Abstracts for year.

Description

This function is used to extract the abstracts for year we want to study. Its output is used as input in other functions like BWI() and genes_BWI()

Usage

currentabs_fn(yr_to_include, theme, parentabs)

Arguments

yr_to_include

yr_to_include is the year for which we want to extract the Abstracts.

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.

See Also

previousabs_fn

Examples

Run this code
# NOT RUN {
test = currentabs_fn("2015", "atherosclerosis", diabetesabs)
# }
# NOT RUN {
## here "2015" is the year we want to extract the abstracts of theme"Atherosclerosis" 
## from the large corpus of diabetes i.e. diabetesabs.
# }

Run the code above in your browser using DataLab