This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error when using compareCluster from enichment

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: Error in $<-.data.frame(*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)

comparecluster

Could you show str(gene_cluster) ? It is difficult to help without seeing data

0 answers

No answers yet.

Log in to answer this question.