powered by
alias_fn will return the gene alias from the Abstracts using HGNC data.
alias_fn
alias_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 aliases.
prevsymbol_fn
# NOT RUN { alias_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