powered by
names_fn matches the gene symbols to gene names and extract from HGNC.
names_fn
names_fn(genes, data, abs, filename, terms)
It returns an output file containing genes with their corresponding gene names and sentences with co-occurrences if any.
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 specifies the name of output file.
filename
terms second query term to be searched in the same sentence (co-occurrence) of abstracts.
terms
S.Ramachandran
if (FALSE) { names_fn(genes, data, diabetes_abs, "names", c("diabetic nephropathy", "DN")) } ## genes output of gene_atomization()
Run the code above in your browser using DataLab