official_fn: To extract the sentences containing official gene symbol from...

Description Usage Arguments Value Author(s) Examples

View source: R/official_fn.R

Description

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

Usage

1
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

1
2
3
4
5
## Not run: 
official_fn(genes, diabetes_abs, "genes", c("diabetic nephropathy", "DN"))

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

pubmed.mineR documentation built on Nov. 26, 2021, 5:11 p.m.