Learn R Programming

pubmed.mineR (version 1.0.11)

getabs: To get Abstracts for a given term.

Description

getabs will automatically fetch the abstracts containing the query term. A base function of the package pubmed.mineR.

Usage

getabs(object, x, y)

Arguments

object

An S4 object of class Abstracts

x

A character string for the term

y

logical, if TRUE, search will be case sensitive

Value

An S4 object of class 'Abstracts', containing the result abstracts for the given term.

Details

getabs() is used to find and exctract the abstracts for any given term, from the large a large corpus of abstracts. It uses regexpr based search strategy.

Examples

Run this code
# NOT RUN {
getabs(x, "term")
# }
# NOT RUN {
## x is an S4 obeject of class abstracts containing the abstracts.
# }

Run the code above in your browser using DataLab