Closed KristinaGomoryova closed 1 week ago
Based on the code below I think it is rather Abundance than Intensity
SNplot <- ggplot2::ggplot(df, ggplot2::aes_string(x = "mass", xend = "mass", y = 0, yend = "Abundance")) +
ggplot2::geom_segment(ggplot2::aes(color = Index), size = 0.65, alpha = 1) +
ggplot2::geom_hline(yintercept = cut, linetype = "solid", size = 0.1) +
ggplot2::coord_cartesian(xlim = c(mass-window.x, mass+window.x), ylim = c(0, cut*window.y))
Currently, the y axis in the SNplot is labelled simply as "y", we should rename it to intensity probably