Learn R Programming

pubmed.mineR (version 1.0.11)

genes_BWI: Function to get the Buzz Word Index of Genes from the abstracts.

Description

This function gives the Buzz word index for each gene. The theme is the context in which the gene is studied for e.g. atherosclerosis. Using this function user can identify abstracts with emphasis on the given gene.

Usage

genes_BWI(currentabs, previousabs, theme, genes)

Arguments

currentabs

currentabs an S4 object containing the Abtracts for the year we want to study. Output from currentabs_fn()

previousabs

previousabs an S4 object containing the Abstracts for years previous than our year of study. Output from previousabs_fn().

theme

theme a character value to categorize our search. For e.g. 'Atherosclerosis' from 'diabetes' Abstracts.

genes

genes list of genes. Output from gene_atomization().

Value

It returns a dataframe containig Genes with their corresponding BWI values.

See Also

BWI

Examples

Run this code
# NOT RUN {
test = genes_BWI(currentabs, previousabs, theme, genes)
# }
# NOT RUN {
## currentabs is an S4 object contaning the Abtracts for the year we want to study.
## previousabs is an S4 object contaning the Abtracts for the years previous 
## than our query year for e.g. before 2015
## theme is a character value specifying the search.
## genes is list of genes output from gene_atomization().
# }

Run the code above in your browser using DataLab