Skip to content

Commit

Permalink
Update test_maaslin_plot_results_from_output.R
Browse files Browse the repository at this point in the history
  • Loading branch information
WillNickols authored Dec 2, 2024
1 parent bbb59f3 commit ea1bbac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/testthat/test_maaslin_plot_results_from_output.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ea1bbac

Please sign in to comment.