enrichplot icon indicating copy to clipboard operation
enrichplot copied to clipboard

ridgeplot shows some pathway with no ridges

Open hellozzzw opened this issue 5 years ago • 3 comments

image 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!

hellozzzw avatar Sep 30 '20 02:09 hellozzzw

Please provide repeatable code and data.

huerqiang avatar Sep 30 '20 04:09 huerqiang

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.

AnzeLovse avatar Jan 26 '22 10:01 AnzeLovse

您好!          我是张文静,您的来信我已收到。          祝工作生活都愉快~

hellozzzw avatar Jan 26 '22 10:01 hellozzzw

Thank you @AnzeLovse! This fixed it for me too!

Martina-H avatar Sep 07 '22 12:09 Martina-H

您好!          我是张文静,您的来信我已收到。          祝工作生活都愉快~

hellozzzw avatar Sep 07 '22 12:09 hellozzzw

您好!          我是张文静,您的来信我已收到。          祝工作生活都愉快~

hellozzzw avatar Oct 11 '22 07:10 hellozzzw