Error when using compareCluster from enichment
0
0
Entering edit mode
18 months ago
jacob • 0

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 • 494 views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 1076 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6