-
Notifications
You must be signed in to change notification settings - Fork 76
Description
Hi,
I am trying to plot the results of enrichGO. Here's the code:
ego <- enrichGO(gene = sig_genes_L_O$ENTREZID,
universe = comparison_L_O$ENTREZID,
OrgDb = org.Hs.eg.db,
ont = "CC",
pAdjustMethod = "BH",
pvalueCutoff = 0.01,
qvalueCutoff = 0.01,
readable = TRUE)
geneList <- sig_genes_L_O$Student's T-test Difference L_O
names(geneList) <- as.character(sig_genes_L_O$ENTREZID)
geneList <- geneList[!is.na(names(geneList)) & !duplicated(names(geneList))]
geneList <- sort(geneList, decreasing = TRUE)
print(cnetplot(ego,
foldChange=geneList,
categorySize="pvalue",
showCategory = 5,
circular = TRUE,
colorEdge = TRUE))
First, here are the warning I see when I try to plot the cnet plot:
Warning messages:
1: In (function (name = waiver(), ..., low = muted("red"), mid = "white", :
log-10 transformation introduced infinite values in midpoint.
2: In transformation$transform(x) : NaNs produced
3: In (function (name = waiver(), ..., low = muted("red"), mid = "white", :
log-10 transformation introduced infinite values.
4: ggrepel: 377 unlabeled data points (too many overlaps). Consider increasing max.overlaps
And, here is the plot:
Please help me with this, Thanks.
Kind regards,
Abeedha