powered by
prevsymbol_fn will return the sentences containing previous symbols of the genes from the abstracts using HGNC data.
prevsymbol_fn
prevsymbol_fn(genes, data, abs, filename, terms)
genes is output of gene_atomization, or a table containing HGNC gene symbols in first column with its frequency in second column.
genes
data is HGNC data table with all 49 features (columns) available from the web site https://www.genenames.org/
data
abs an S4 object of class Abstracts.
abs
filename specify the name of output file
filename
terms second query term to be searched in the same sentence (co-occurrence) of 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(genes, data, diabetes_abs, "prevsym", c("diabetic nephropathy", "DN")) # }
Run the code above in your browser using DataLab