get_gene_sentences {pubmed.mineR}R Documentation

To extract the sentences for genes from the corpus.

Description

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

Usage

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

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

[Package pubmed.mineR version 1.0.20 Index]