Learn R Programming

pubmed.mineR (version 1.0.11)

cleanabs: To clean the result of searchabsL

Description

It will remove the 'NONE' abstracts from the result of searchabsL.

Usage

cleanabs(object)

Arguments

object

an S4 object of class Abstracts.

Value

an S4 object of class Abstracts.

See Also

searchabsL

Examples

Run this code
# NOT RUN {
test1 = searchabsL(abs, include=c("term1", "term2"))
test2 = cleanabs(test1)
# }
# NOT RUN {
## here 'abs' is an S4 object of class Abstracts
## 'term1', 'term2' are the searchterms
## test1 is an S4 object containing abstracts for given terms
## and test2 is an S4 object of class Abstracts containing clean abstracts of searchabsL
# }

Run the code above in your browser using DataLab