@@ -460,16 +460,16 @@ b_data_pos <- dplyr::filter(norm_data, Treatment == "Both") %>%
460460 geom_polygon(data = b_polygon, aes(x = BL1.H, y = BL3.H, group = 1),
461461 fill = NA, color = "red", size = 1.2) +
462462 geom_text(data = b_pct,
463- aes(x = 10^3.5, y = 10^4.5 , label = paste0(percentage_inside, "%")),
464- color = "black", size = 4, fontface = "bold", hjust = 1.2 ) +
463+ aes(x = 10^3.5, y = 10^4, label = paste0(percentage_inside, "%")),
464+ color = "black", size = 4, fontface = "bold") +
465465 facet_grid(rows = vars(H2O2_conc), cols = vars(Date)) +
466466 theme_minimal() +
467467 labs(x = "BL1.H", y = "BL3.H") +
468468 scale_x_logicle() +
469469 scale_y_logicle()
470470
471471b_data_pos
472- # ggsave("./output/Ca-Both_raw_red_positive_d040225.png", width = 7, height = 4)
472+ ggsave("./output/Ca-Both_raw_red_positive_d040225.png", width = 7, height = 4)
473473
474474b_polygon <- get_polygon("b","Yes","red_pos")
475475b_pct <- get_polygon_pct("b", norm_data, "red_pos", "Yes")
@@ -481,16 +481,16 @@ b_data_pos_raw <- dplyr::filter(norm_data, Treatment == "Both") %>%
481481 geom_polygon(data = b_polygon, aes(x = nGFP, y = nRFP, group = 1),
482482 fill = NA, color = "red", size = 1.2) +
483483 geom_text(data = b_pct,
484- aes(x = 10^3.5, y = 10^4.5 , label = paste0(percentage_inside, "%")),
485- color = "black", size = 4, fontface = "bold", hjust = 1.2 ) +
484+ aes(x = 10^3.5, y = 10^4, label = paste0(percentage_inside, "%")),
485+ color = "black", size = 4, fontface = "bold") +
486486 facet_grid(rows = vars(H2O2_conc), cols = vars(Date)) +
487487 theme_minimal() +
488488 labs(x = "nGFP", y = "nRFP") +
489489 scale_x_logicle() +
490490 scale_y_logicle()
491491
492492b_data_pos_raw
493- # ggsave("./output/Ca-Both_normalized_red_positive_d040225.png", width = 7, height = 4)
493+ ggsave("./output/Ca-Both_normalized_red_positive_d040225.png", width = 7, height = 4)
494494```
495495
496496
@@ -553,7 +553,7 @@ b_data_pos <- dplyr::filter(norm_data, Treatment == "Both") %>%
553553 fill = NA, color = "red", size = 1.2) +
554554 geom_text(data = b_pct,
555555 aes(x = 10^3.5, y = 10^4.5, label = paste0(percentage_inside, "%")),
556- color = "black", size = 4, fontface = "bold", hjust = 1.2 ) +
556+ color = "black", size = 4, fontface = "bold") +
557557 facet_grid(rows = vars(H2O2_conc), cols = vars(Date)) +
558558 theme_minimal() +
559559 labs(x = "BL1.H", y = "BL3.H") +
@@ -574,7 +574,7 @@ b_data_pos_raw <- dplyr::filter(norm_data, Treatment == "Both") %>%
574574 fill = NA, color = "red", size = 1.2) +
575575 geom_text(data = b_pct,
576576 aes(x = 10^3.5, y = 10^4.5, label = paste0(percentage_inside, "%")),
577- color = "black", size = 4, fontface = "bold", hjust = 1.2 ) +
577+ color = "black", size = 4, fontface = "bold") +
578578 facet_grid(rows = vars(H2O2_conc), cols = vars(Date)) +
579579 theme_minimal() +
580580 labs(x = "nGFP", y = "nRFP") +
0 commit comments