Learn R Programming

pubmed.mineR (version 1.0.21)

searchabsT: To Search Abstracts

Description

searchabsTIt is similar to searchabsL() but performs more specific search. It performs case sensitive search.

Usage

searchabsT(object, yr, include, restrict, exclude)

Value

An object of class Abstracts meeting the term and the term combinations. A text file reporting the number of abstracts for the query terms and their combinations is als written with the filename "out.txt".

Arguments

object

An S4 object of class Abstracts

yr

character vector specifies the year(s) of search.

include

character vector specifies the term(s) for which abstracts to be searched.

restrict

character vector specifies the term(s) contained in the abstracts for which search should be restricted.

exclude

character vector specifies the term(s) contained in the abstracts for excluding these abstracts from our search results.

Author

Dr.S.Ramachandran

Details

In the arguments except the object all arguments have "NONE" as default. Use sendabs() function to write the results in a tab delimited text file.

See Also

searchabsL

Examples

Run this code
if (FALSE) searchabsT(myabs,yr="2013")
searchabsT(myabs,include="term")
searchabsT(myabs,restrict="term")
searchabsT(myabs,exclude="term")
searchabsT(myabs,yr="2013", include="term")
## Here myabs is an S4 object of class Abstracts containing the abstracts to search,
## "term" is the query term to be search. 

Run the code above in your browser using DataLab