Closed TinclG closed 2 years ago
script 3.1_TopGO_cluster3
objects used: c2 - which are the gene names and cluster number from the cluster 4
sigGenes <- sigGenes(GOdata) AnnoList <- lapply(tab$"GO.ID", function(x) as.character(list(genesInTerm(object = GOdata, whichGO = x)))) SigList <- lapply(AnnoList, function(x) intersect(x, sigGenes))
sigGenes doesnt return lists of genes but rather a vector of all genes Results: SigList
[[1]] character(0) [[2]] character(0) ...
Solved
script 3.1_TopGO_cluster3
objects used: c2 - which are the gene names and cluster number from the cluster 4
sigGenes doesnt return lists of genes but rather a vector of all genes Results: SigList