BWI: To obtain the Buzz Word Index of terms from the Abstracts.

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/BWI.R

Description

This function is used to obtain the Buzz word index value for the terms.

Usage

1
BWI(current, previous, n, N)

Arguments

current

current an S4 object containing the Abtracts for the current year we require the BWI an output from currentabs_fn()

previous

previous an S4 object containing the Abstracts for years previous to current year of study an output from previousabs_fn().

n

n is a character term for which Buzz Word Index is to be calculated.

N

N is a character value specifying the theme from the large corpus.

Value

It returns a list containing BWI value for the given word.

Author(s)

S.Ramachandran

References

Jensen, Lars Juhl, Jasmin Saric, and Peer Bork. "Literature mining for the biologist: from information retrieval to biological discovery." Nature reviews genetics 7.2 (2006): 119-129.

See Also

genes_BWI

Examples

1
2
3
4
5
6
## Not run: result = BWI(mycurrentabs, mypreviousabs, "insulin", "inflammation")
## BWI for the term "insulin" and the theme is inflammation. 
## Note that in the previous, years are starting one before the current year 2015; 
## current is an S4 object containing the output from currentabs_fn()
## previous is an S4 object containing the output from previousabs_fn().
## 'n' and 'N' are query terms whose BWI is sought and the theme respectively

pubmed.mineR documentation built on July 23, 2019, 9:04 a.m.