getabs {pubmed.mineR}R Documentation

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

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.

Value

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

Author(s)

Dr.S.Ramachandran

Examples

## Not run: getabs(x, "term")
## x is an S4 obeject of class abstracts containing the abstracts.

[Package pubmed.mineR version 1.0.20 Index]