From ea1bbac558ab42062c0e91c93b641f900eb2a658 Mon Sep 17 00:00:00 2001 From: Will Nickols <78048944+WillNickols@users.noreply.github.com> Date: Mon, 2 Dec 2024 09:20:08 -0500 Subject: [PATCH] Update test_maaslin_plot_results_from_output.R --- tests/testthat/test_maaslin_plot_results_from_output.R | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/testthat/test_maaslin_plot_results_from_output.R b/tests/testthat/test_maaslin_plot_results_from_output.R index 678f1eb..bf1c34c 100644 --- a/tests/testthat/test_maaslin_plot_results_from_output.R +++ b/tests/testthat/test_maaslin_plot_results_from_output.R @@ -65,11 +65,11 @@ plot_out2 <- maaslin_plot_results(output = output_tmp, median_comparison_abundance = FALSE, max_significance = 0.1) -expect_equal(plot_out$var1$a$logistic$data, plot_out2$var1$a$logistic$data) -expect_equal(plot_out$var1$a$logistic$mapping, - plot_out2$var1$a$logistic$mapping) -expect_equal(plot_out$var1$a$logistic$scales, - plot_out2$var1$a$logistic$scales) +expect_equal(plot_out$assocation_plots$var1$a$logistic$data, plot_out2$assocation_plots$var1$a$logistic$data) +expect_equal(plot_out$assocation_plots$var1$a$logistic$mapping, + plot_out$assocation_plots2$var1$a$logistic$mapping) +expect_equal(plot_out$assocation_plots$var1$a$logistic$scales, + plot_out2$assocation_plots$var1$a$logistic$scales) unlink(output_tmp, recursive = T)