official_fn {pubmed.mineR}R Documentation

To extract the sentences containing official gene symbol from abstracts.

Description

official_fn is used to fetch the sentences containing official gene symbol from HGNC.

Usage

official_fn(genes, abs, filename, terms)

Arguments

genes

genes is output of gene_atomization, or a table containing HGNC gene symbols in first column with its frequency in second column.

abs

abs an S4 object of class Abstracts.

filename

filename specifies the name of output file.

terms

terms second query term to be searched in the same sentence (co-occurrence) of abstracts.

Value

It will return a text file containing corresponding official gene symbol.

Author(s)

S.Ramachandran

Examples

## Not run: 
official_fn(genes, diabetes_abs, "genes", c("diabetic nephropathy", "DN"))

## End(Not run)
## genes output of gene_atomization()

[Package pubmed.mineR version 1.0.20 Index]