cleanGenes: Clean genes

Description Usage Arguments Value Examples

View source: R/cleanGenes.R

Description

Converts the entrez gene ids into the approved gene symbol and counts the number of times each gene is mentioned.

Usage

1
cleanGenes(geneList)

Arguments

geneList

A list containing the Entrez gene ids for all of the genes found in each article.

Value

A tibble. The first column is the gene name and the second column is the number of times that gene is mentioned.

Examples

1
2
3
4
5
6
7
pmids <- scrapeIDs(dataBase = 'pubmed',
                   term = '(vivax malaria[MeSH Terms]) AND (folic acid antagonists[MeSH Terms])')

geneids <- extractGenes(IDs = pmids,
                        nCores = 2)

geneNames <- cleanGenes(geneList = geneids)

Evatar/geneScrapeR documentation built on Aug. 25, 2018, 1:42 a.m.