profile 99
save_path = “output_rds/spike_ecoli_ob_p_99.rds” if(file.exists(save_path)){ fit_ob_99 <- readRDS(save_path) } else { system.time({ fit_ob_99 <- glmObFit(d_p99, design, nthreads = 10) }) saveRDS(fit_ob_99, save_path) }
plot_manhattan(fit_ob_99, taxonomy = tax_99, method = “HMP”, tax_levels = c(“Phylum”, “Order”, “Class”, “Genus”, “Species”)) plot_volcano(fit_ob_99, label = T) plot_ani_dist(d_p99, phenotype = ‘spiked’, contigs = top_hits(fit_ob_99, alpha = 0.05)\(Contig_name, show_points = T, plot_type = 'box')
plot_ani_dist(d_p99, phenotype = 'spiked', contigs = top_hits(fit_ob_99, alpha = 0.05)\)Contig_name, show_points = T, plot_type = ‘violin’)