findGeneByPapers: Get gene table of frequently found genes

View source: R/geneInfo.R

findGeneByPapersR Documentation

Get gene table of frequently found genes

Description

Get gene table and paper count for genes mentioned cnt or more times in different papers.

Usage

findGeneByPapers(pmids, cnt = 1)

Arguments

pmids

vector of PMIDs to search for genes

cnt

minimal number of papers that mentioned gene

Value

data.frame with 9 columns: 8 specified in getGenesByID and Npmid column for the paper count.

See Also

getGenesByID

Other Gene functions: findGeneByCompartmentPaperCnt(), findGeneByPaperCnt(), findGenesByEntrez(), findGenesByName(), getAllGenes4Compartment(), getGenes4Compartment(), getGenesByID()

Examples

res<- getAllGenes4Compartment(compartmentID = 1)
gnt<-getGeneInfoByIDs(res$GeneID)
pmids<-names(sort(table(gnt$PaperPMID))[1:5])
cntT <- findGeneByPapers(pmids,cnt=3)
head(cntT)

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