powered by
prevsymbol_fn will return the previous symbols of the genes from the abstracts using HGNC data.
prevsymbol_fn
prevsymbol_fn(genes, data, abs, filename, terms)
genes a character vector containing genes
genes
data HGNC data (downloadable from the site)
data
abs an S4 object of class Abstracts.
abs
filename specify the name of output file
filename
terms query terms to be search from the abstracts.
terms
It returns a text file containing gene symbol with corresponding previous symbols.
names_fn, official_fn
names_fn
official_fn
# NOT RUN { prevsymbol_fn("SIRT1", HGNCdata, diabetes_abs, "prevsym.txt", c("diabetic nephropathy", "DN") # }
Run the code above in your browser using DataLab