Home > Net >  ggplot2: Issue with y-axis when generating graph with geom_col
ggplot2: Issue with y-axis when generating graph with geom_col

Time:08-05

I came back to R to make some graph for publication figure. However, I'm quite rusty and still in the learning process and I'm struggling on bar/col-based graph generation.

Context: Basically we have result of in vitro assays made with different type of cells from drifferent patients. The variable are the following:

  • Patients
  • Cell type
  • Ratio (effector/responder cells, 1:3, 1:10 and 1:30)
  • Cancer type

I would like to generate a graph were barplot represent the value of in vitro assay according to the dilution for one cell type/condition (1:3, 1:10, 1:30 for one condition, then 1:3, 1:10, 1:30 for a second, etc). A bit like this:

enter image description here

  • Related