get_gene_sentences: To extract the sentences for genes from the corpus.

Description Usage Arguments Value Author(s) Examples

View source: R/get_gene_sentences.R

Description

get_gene_sentences is used to extract the exact sentence in which query gene is discussed.

Usage

1
get_gene_sentences(genes, abs, filename)

Arguments

genes

genes a character vector containing the gene symbols.

abs

abs an S4 object of class Abstracts

filename

filename specifies the output file name.

Value

an output file containing the sentences for given gene.

Author(s)

S.Ramachandran

Examples

1
## Not run: get_gene_sentences("RBP4", abstracts, "RBP4_sentence.txt")

Example output



pubmed.mineR documentation built on July 26, 2021, 5:07 p.m.