September 12, 2022
Tailed phages with genomes larger than 200 kbp are classified as jumbophages. Currently there are 29759 bacteriophage genomes in the NCBI and only 2.32% of them are are classified as jumbophages.
library(tidyverse) base_color <- c("#d8b365", "#5ab4ac") read_tsv("rawdata/clean_genomes_data.tsv") %>% select(jumbophage) %>% count(jumbophage) %>% mutate(jumbophage = if_else(jumbophage == FALSE, "Phage", "Jumbophage" )) %>% ggplot(aes( x = jumbophage, y = n, fill = jumbophage )) + geom_col() + scale_y_continuous( expand = c(0, 0), limits = c(0, 30000), breaks = seq(0, 300000, 3000) ) + geom_text( aes( x = jumbophage, y = (n + 1500), label = n ), size = 6 ) + labs( x = NULL, y = "Number of phages" ) + scale_fill_manual(values = base_color) + theme( text = element_text(size = 20), panel.background = element_blank(), panel.border = element_rect( colour = "black", fill = NA, linewidth = 1 ), legend.position = "none" )
Warning: Removed 1 row containing missing values or values outside the scale range (`geom_text()`).