Entering edit mode
3.2 years ago
szp770
▴
10
Hi, I have a dataset of the gene expression after different drug treatment in different hours, each treatment has 6 values. I want to plot a 3d histogram using R. I know I can use some pachages, but they may not have errorbar function. How could I do that? Thanks!
Can you provide an example figure of what you want?
such plot with error bar in each histogram
A 3D plot may not be the best choice, when I reviewed the example figure below, it is hard to interpret. Error bars on top of that would be even harder. Would it be possible to make a series of subplots for a figure for each individual treatment for your purposes? That would make it more readable and should be easier to do if you use ggplot with a data frame (you can colour different treatments using a treatment column).
As noted, interpretation would be difficult. A multicolumn 2D bar chart may be preferable, especially if you want error bars, e.g.: https://stackoverflow.com/a/65923405/19410