YuLab-SMU / ggtree

:christmas_tree:Visualization and annotation of phylogenetic trees
https://yulab-smu.top/treedata-book/
830 stars 172 forks source link

NAs in compareCluster #555

Open Shankav opened 1 year ago

Shankav commented 1 year ago

I am using clusterProfiler and the function compareCluster to compare 3 conditions using function "enrichGO". However the results contatin in the Description field, but the ID column contains valid GO value. How can we prevent NA's in the result?

sessionInfo() R version 4.1.2 (2021-11-01) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19042)

Matrix products: default

Random number generation: RNG: Mersenne-Twister Normal: Inversion Sample: Rounding

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

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

other attached packages: [1] DOSE_3.18.3 enrichplot_1.12.3 ReactomePA_1.36.0 org.Hs.eg.db_3.13.0
[5] AnnotationDbi_1.54.1 IRanges_2.26.0 S4Vectors_0.30.2 Biobase_2.52.0
[9] BiocGenerics_0.38.0 ROCR_1.0-11 clusterProfiler_4.0.5 biomaRt_2.48.3
[13] limma_3.48.3 ComplexHeatmap_2.8.0

Prerequisites

Describe you issue

Ask in right place