names_fn {pubmed.mineR} | R Documentation |
To extract the sentences in asbtracts containing gene names from HGNC.
Description
names_fn
matches the gene symbols to gene names and extract from HGNC.
Usage
names_fn(genes, data, abs, filename, terms)
Arguments
genes |
genes is output of gene_atomization or a table containing HGNC gene symbols in first column with its frequency in second column.
|
data |
data is HGNC data
table with all 49 features (columns) available from the web site https://www.genenames.org/
|
abs |
abs an S4 object of class Abstracts.
|
filename |
filename specifies the name of output file.
|
terms |
terms second query term to be searched in the same sentence (co-occurrence) of abstracts.
|
Value
It returns an output file containing genes with their corresponding gene names and sentences with co-occurrences if any.
Author(s)
S.Ramachandran
Examples
## Not run:
names_fn(genes, data, diabetes_abs, "names", c("diabetic nephropathy", "DN"))
## End(Not run)
## genes output of gene_atomization()
[Package
pubmed.mineR version 1.0.21
Index]