Dear all,
I would like to plot mean serum concentrations and confidence intervals of a metabolite for 10 different cohorts. All data needs to appear on the same graph.
My colleagues have used SAS or R - both of which have direct codes for "caterpillar plots"
The caterpillar plots give a nice ranking to the data and automatically adjust the display of the cohorts (or grouping variable) from lowest metabolite mean to highest metabolite mean (for example).
I do not wish to change software, so any help with how to accomplish this using Stata would be most appreciated.
I tried a horizontal box plot which gave me mean metabolite concentration and confidence intervals for all cohort on the same graph (cohort is my grouping variable 1). This gave me an output similar to a "caterpillar plot" with the exception that the cohort means were not ranked from lowest metabolite mean to highest metabolite mean.
I then tried to edit the graph hoping I could drag and drop the cohorts to change the order that they appear on the graph.
I must need to "rank" the data somehow, but it is not obvious to me how to do this.
Please advise.
Thank-you!
I would like to plot mean serum concentrations and confidence intervals of a metabolite for 10 different cohorts. All data needs to appear on the same graph.
My colleagues have used SAS or R - both of which have direct codes for "caterpillar plots"
The caterpillar plots give a nice ranking to the data and automatically adjust the display of the cohorts (or grouping variable) from lowest metabolite mean to highest metabolite mean (for example).
I do not wish to change software, so any help with how to accomplish this using Stata would be most appreciated.
I tried a horizontal box plot which gave me mean metabolite concentration and confidence intervals for all cohort on the same graph (cohort is my grouping variable 1). This gave me an output similar to a "caterpillar plot" with the exception that the cohort means were not ranked from lowest metabolite mean to highest metabolite mean.
I then tried to edit the graph hoping I could drag and drop the cohorts to change the order that they appear on the graph.
I must need to "rank" the data somehow, but it is not obvious to me how to do this.
Please advise.
Thank-you!
Comment