enrichplot
enrichplot copied to clipboard
ridgeplot shows some pathway with no ridges
Dear Yu ,
When using ridgeplot to draw a picture, it seems that there are always several items that cannot be drawn for gseresult. This is very strange. After I edit the source code, I still can't draw it.
d1 =data.frame(gs2val.df[sapply(gs2val, length)>2,],stringsAsFactors = F)
d1$category = as.character(d1$category)
ggplot( d1 , aes_string(x="value", y="category", fill=fill))+
ggridges::geom_density_ridges( ) +
scale_fill_continuous(low="red", high="blue", name = fill,guide=guide_colorbar(reverse=TRUE)) +
xlab(NULL) + ylab(NULL) + theme_dose()
Thanks a lot!
Please provide repeatable code and data.
I had the same issue with ridgeplot() and setting core_enrichment = FALSE resolved the issue. Noticeably, all terms with missing ridges had only two of core enriched genes. Unfortunately I can not provide the data to reproduce this.
您好! 我是张文静,您的来信我已收到。 祝工作生活都愉快~
Thank you @AnzeLovse! This fixed it for me too!
您好! 我是张文静,您的来信我已收到。 祝工作生活都愉快~
您好! 我是张文静,您的来信我已收到。 祝工作生活都愉快~