Learn R Programming

pubmed.mineR (version 1.0.11)

official_fn: To extract the official gene symbol.

Description

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

Usage

official_fn(genes, abs, filename, terms)

Arguments

genes

genes is output of gene_atomization, a table containing gene with its frequency.

abs

abs an S4 object of class Abstracts.

filename

filename specifies the name of output file.

terms

terms query term to be search in the abstracts. This is to restrict our search for particular theme from the abstracts

Value

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

Examples

Run this code
# NOT RUN {
official_fn(genes, diabetes_abs, "prevsym.txt", c("diabetic nephropathy", "DN")
# }
# NOT RUN {
## genes output of gene_atomization()
# }

Run the code above in your browser using DataLab