enrichplot icon indicating copy to clipboard operation
enrichplot copied to clipboard

enrichplot::ridgeplot: fill="qvalue" does not work

Open dade7 opened this issue 1 year ago • 0 comments

Hi, I want to color my ridgeplot according to qvalues. I use code like this:

egmt1 <- GSEA (geneList2, TERM2GENE = gmtList[[5]], verbose=TRUE, eps=0, minGSSize = 5, maxGSSize = 400, pvalueCutoff = 1) enrichplot::ridgeplot(egmt1, showCategory=30, fill="qvalue", core_enrichment=TRUE, label_format=30, orderBy="NES", decreasing=TRUE) Error in ridgeplot.gseaResult(x, showCategory = showCategory, fill = fill, : 'fill' variable not available ...

If I run it with fill = "p.adjust" it works. Thanks for your help!

sessionInfo() R version 4.2.2 (2022-10-31) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 22.04.1 LTS

Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so

locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8
[6] LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages: [1] grid stats4 stats graphics grDevices utils datasets methods base

other attached packages: [1] ggupset_0.3.0 clusterProfiler_4.6.0 enrichplot_1.18.3 DOSE_3.24.2 Matrix_1.5-3
[6] ggrepel_0.9.2 decoupleR_2.4.0 biomaRt_2.54.0 ashr_2.2-54 RColorBrewer_1.1-3
[11] DESeq2_1.38.3 SummarizedExperiment_1.28.0 MatrixGenerics_1.10.0 matrixStats_0.63.0 pheatmap_1.0.12
[16] viridis_0.6.2 viridisLite_0.4.1 gridExtra_2.3 ROntoTools_2.26.0 Rgraphviz_2.42.0
[21] KEGGgraph_1.58.3 KEGGREST_1.38.0 boot_1.3-28 graph_1.76.0 ggpubr_0.5.0.999
[26] forcats_0.5.2 stringr_1.5.0 dplyr_1.0.10 purrr_1.0.1 readr_2.1.3
[31] tidyr_1.3.0.9000 tibble_3.1.8 tidyverse_1.3.2 EnsDb.Hsapiens.v86_2.99.0 ensembldb_2.22.0
[36] AnnotationFilter_1.22.0 GenomicFeatures_1.50.3 AnnotationDbi_1.60.0 Biobase_2.58.0 GenomicRanges_1.50.2
[41] GenomeInfoDb_1.34.6 IRanges_2.32.0 S4Vectors_0.36.1 BiocGenerics_0.44.0 data.table_1.14.6
[46] reshape2_1.4.4 BiocParallel_1.32.5 ggplot2_3.4.0 ggplotify_0.1.0

loaded via a namespace (and not attached): [1] utf8_1.2.2 tidyselect_1.2.0 RSQLite_2.2.19 scatterpie_0.1.8 munsell_0.5.0
[6] ragg_1.2.4 codetools_0.2-18 withr_2.5.0 colorspace_2.1-0 GOSemSim_2.24.0
[11] filelock_1.0.2 knitr_1.41 rstudioapi_0.14 ggsignif_0.6.4 labeling_0.4.2
[16] GenomeInfoDbData_1.2.9 mixsqp_0.3-48 polyclip_1.10-4 bit64_4.0.5 farver_2.1.1
[21] downloader_0.4 treeio_1.22.0 vctrs_0.5.2 generics_0.1.3 gson_0.0.9
[26] xfun_0.35 timechange_0.1.1 BiocFileCache_2.6.0 R6_2.5.1 graphlayouts_0.8.4
[31] invgamma_1.1 locfit_1.5-9.7 bitops_1.0-7 cachem_1.0.6 fgsea_1.24.0
[36] gridGraphics_0.5-1 DelayedArray_0.24.0 assertthat_0.2.1 BiocIO_1.8.0 scales_1.2.1
[41] ggraph_2.1.0 googlesheets4_1.0.1 gtable_0.3.1 tidygraph_1.2.2 rlang_1.0.6
[46] systemfonts_1.0.4 splines_4.2.2 rtracklayer_1.58.0 rstatix_0.7.1.999 lazyeval_0.2.2
[51] gargle_1.2.1 broom_1.0.2 yaml_2.3.6 abind_1.4-5 modelr_0.1.10
[56] backports_1.4.1 qvalue_2.30.0 tools_4.2.2 ellipsis_0.3.2 Rcpp_1.0.10
[61] plyr_1.8.8 progress_1.2.2 zlibbioc_1.44.0 RCurl_1.98-1.9 prettyunits_1.1.1
[66] cowplot_1.1.1 haven_2.5.1 fs_1.6.0 magrittr_2.0.3 reprex_2.0.2
[71] googledrive_2.0.0 truncnorm_1.0-8 SQUAREM_2021.1 ProtGenerics_1.30.0 evaluate_0.20
[76] hms_1.1.2 patchwork_1.1.2 xtable_1.8-4 HDO.db_0.99.1 XML_3.99-0.13
[81] readxl_1.4.1 compiler_4.2.2 shadowtext_0.1.2 crayon_1.5.2 htmltools_0.5.4
[86] ggfun_0.0.9 tzdb_0.3.0 geneplotter_1.76.0 aplot_0.1.9 lubridate_1.9.0
[91] DBI_1.1.3 tweenr_2.0.2 dbplyr_2.2.1 MASS_7.3-58.1 rappdirs_0.3.3
[96] car_3.1-1 cli_3.6.0 parallel_4.2.2 igraph_1.3.5 pkgconfig_2.0.3
[101] GenomicAlignments_1.34.0 xml2_1.3.3 ggtree_3.6.2 annotate_1.76.0 XVector_0.38.0
[106] rvest_1.0.3 yulab.utils_0.0.6 digest_0.6.31 Biostrings_2.66.0 rmarkdown_2.19
[111] cellranger_1.1.0 fastmatch_1.1-3 tidytree_0.4.2 restfulr_0.0.15 curl_4.3.3
[116] Rsamtools_2.14.0 rjson_0.2.21 nlme_3.1-160 lifecycle_1.0.3 jsonlite_1.8.4
[121] carData_3.0-5 fansi_1.0.4 pillar_1.8.1 lattice_0.20-45 fastmap_1.1.0
[126] httr_1.4.4 GO.db_3.16.0 glue_1.6.2 png_0.1-8 bit_4.0.5
[131] ggforce_0.4.1 stringi_1.7.12 blob_1.2.3 textshaping_0.3.6 memoise_2.0.1
[136] ape_5.6-2 irlba_2.3.5.1

dade7 avatar Feb 08 '23 12:02 dade7