I have time-course data as "Day1", "Day2"....., when I create the list for compareCluster(), I have named the order as levels(list) = c("Day1","Day2"....), and I check the compareCluster() result, CompGO@compareClusterResult$Cluster, shows the order is "Day1", "Day2".... However, when I plot the data, the X-axis show the disorder characters. How can I fix the problem?
show me the code
list = list(Day1 = Day1, Day2 = Day2, Day3 = Day3......)
levels(list) = c("Day1","Day2","Day3"....)
lx = compareCluster(list)
dotplot(lx)
already fixed, <https://github.com/GuangchuangYu/clusterProfiler/commit/7fda4a36409a112c5b994dbbef47483aa3929f9a>.
The order in input list will be maintained when plotting.
should I update to the latest version? I install the ver-3.4.1. The one you fixed in your developed version?
BTW, after compareCluster(), might be some time point not have the gene clusters, but in order to present the time-course data, can I keep show up all time points data, even if some of them haven't significant enriched pathway/GO?
Could you please clarify how to place the specific order on the x-axis? And keep some groups even they don't have enriched result, just to show the longitudinal data,