Learn R Programming

pubmed.mineR (version 1.0.11)

names_fn: To extract the gene names from HGNC.

Description

names_fn matches the gene symbols to gene names and extract from HGNC.

Usage

names_fn(genes, data, abs, filename, terms)

Arguments

genes

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

data

data is HGNC data

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 returns an output file containing genes with their corresponding gene names.

Examples

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

Run the code above in your browser using DataLab