Learn R Programming

pubmed.mineR (version 1.0.1)

prevsymbol_fn: To Find Previous symbols of genes.

Description

prevsymbol_fn will return the previous symbols of the genes from the abstracts using HGNC data.

Usage

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

Arguments

genes
genes a character vector containing genes
data
data HGNC data (downloadable from the site)
abs
abs an S4 object of class Abstracts.
filename
filename specify the name of output file
terms
terms query terms to be search from the abstracts.

Value

  • It returns a text file containing gene symbol with corresponding previous symbols.

See Also

names_fn, official_fn

Examples

Run this code
prevsymbol_fn("SIRT1", HGNCdata, diabetes_abs, "prevsym.txt", c("diabetic nephropathy", "DN")

Run the code above in your browser using DataLab