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)
• 837 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Could you show
str(gene_cluster)? It is difficult to help without seeing data