prevsymbol_fn: To extract the sentences containing Previous symbols of HGNC...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/prevsymbol_fn.R

Description

prevsymbol_fn will return the sentences containing previous symbols of the genes from the abstracts using HGNC data.

Usage

1
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

1
2
3
4
## Not run: 
prevsymbol_fn(genes, data, diabetes_abs, "prevsym", c("diabetic nephropathy", "DN"))

## End(Not run)

pubmed.mineR documentation built on Nov. 26, 2021, 5:11 p.m.