names_fn: To extract the sentences in asbtracts containing gene names...

Description Usage Arguments Value Author(s) Examples

View source: R/names_fn.R

Description

names_fn matches the gene symbols to gene names and extract from HGNC.

Usage

1
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

1
2
3
4
5
## Not run: 
names_fn(genes, data, diabetes_abs, "names", c("diabetic nephropathy", "DN"))

## End(Not run)
## genes output of gene_atomization()

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