getGeneIdByPapers: Get list of GeneIDs for genes found in specified papers

View source: R/geneInfo.R

getGeneIdByPapersR Documentation

Get list of GeneIDs for genes found in specified papers

Description

Get list of GeneIDs for genes found in specified papers

Usage

getGeneIdByPapers(pmids, cnt = 1)

Arguments

pmids

vector of PMIDs to search for genes

cnt

minimal number of papers that mentioned gene

Value

tibble wiht GeneID and Npmid columns for genes and paper count data respectively.

Examples

res<- getAllGenes4Compartment(compartmentID = 1)
gnt<-getGeneInfoByIDs(res$GeneID)
pmids<-names(sort(table(gnt$PaperPMID))[1:5])
cntT<-synaptome.db:::getGeneIdByPapers(pmids,3)

lptolik/synaptome.db documentation built on Sept. 13, 2023, 2:50 p.m.