co_occurrence_fn: Extracts sentences with co-occurrence of two sets of terms

co_occurrence_fnR Documentation

Extracts sentences with co-occurrence of two sets of terms

Description

co_occurrence_fn will automatically extract sentences with co-occurrence of two sets of terms.

Usage

co_occurrence_fn(terms1, abs, filename, terms2)

Arguments

terms1

a character vector of terms.

abs

an S4 object of class Abstracts

filename

a single character, filename

terms2

a character vector of terms.

Details

Sentences with co-occurrence of two terms will be extracted along with the corresponding PMIDs. The data will be written in a text file with the user given filename and the word co_occurrence will be suffixed to it.

Value

A text file.

Author(s)

S.Ramachandran

Examples

## Not run: co_occurrence_fn("resistance",myabs,"resistance_genetic",c("genes","genetic")
##

pubmed.mineR documentation built on June 22, 2024, 6:50 p.m.