I have two data frames of RNA translated to the Entrezid Ids and when running the chunks through compare cluster I get the following error:
*tmp*, "Cluster", value = integer(0)) :
replacement has 0 rows, data has 120
The data is in list and duplicates have been removed. the code is as below.
ck1 <- compareCluster(geneClusters = gene_cluster, fun = 'enrichGO', OrgDb = org.Mm.eg.db, minGSSize = 3, maxGSSize =800, pvalueCutoff = 0.05, qvalueCutoff = 1, readable=TRUE)
Could you show
str(gene_cluster)? It is difficult to help without seeing data