prevsymbol_fn {pubmed.mineR} | R Documentation |
To extract the sentences containing Previous symbols of HGNC genes.
Description
prevsymbol_fn
will return the sentences containing previous symbols of the genes from the abstracts using HGNC data.
Usage
prevsymbol_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 specify the name of output file
|
terms |
terms second query term to be searched in the same sentence (co-occurrence) of abstracts.
|
Value
It returns a text file containing gene symbol with corresponding previous symbols.
Author(s)
S.Ramachandran
See Also
names_fn
, official_fn
Examples
## Not run:
prevsymbol_fn(genes, data, diabetes_abs, "prevsym", c("diabetic nephropathy", "DN"))
## End(Not run)
[Package
pubmed.mineR version 1.0.20
Index]