R/find_top_GO_terms.R

find_top_GO_terms <-
function(associated_genes, all_genes, all_genes_w_GO, geneID2GO, topNum) {
  myInterestingGenes <- intersect(associated_genes, all_genes_w_GO)
  geneNames <- intersect(all_genes, all_genes_w_GO)
  enrichment_test(myInterestingGenes, geneNames, geneID2GO, topNum)
}

Try the TROM package in your browser

Any scripts or data that you put into this service are public.

TROM documentation built on May 1, 2019, 8:07 p.m.