enter link description hereI would like to connect points in ggplot with reference to DEPTH(m) (y-axis) NOT with reference to VMR (x-axis).
This is the code I am using:
sp<- ggplot(profiles, aes(x=mean_VLP_ml/avg_cells_ml, y=depth_m)) +
geom_point(aes(col=avg_cells_ml, size=mean_VLP_ml)) +
ggtitle("Virus to microbe ratio (VMR) with depth (m)") +
xlab("VMR") +
ylab("Depth_m") +
theme(axis.title.y = element_blank()) + scale_y_reverse() +
expand_limits(y=c(3, 21))
How can I achieve this? I have attached the dataset with google link.