powered by
names_fn matches the gene symbols to gene names and extract from HGNC.
names_fn
names_fn(genes, data, abs, filename, terms)
genes is output of gene_atomization, a table containing gene with its frequency.
genes
data is HGNC data
data
abs an S4 object of class Abstracts.
abs
filename specifies the name of output file.
filename
terms query term to be search in the abstracts. This is to restrict our search for particular theme from the abstracts
terms
It returns an output file containing genes with their corresponding gene names.
# 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