From 656d8ba05e39e66b73d51b89d5a3997e7a88366f Mon Sep 17 00:00:00 2001 From: Alexander Sandercock <39815775+alex-sandercock@users.noreply.github.com> Date: Sun, 22 Dec 2024 17:49:51 -0500 Subject: [PATCH] Update test-diversity.R --- tests/testthat/test-diversity.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-diversity.R b/tests/testthat/test-diversity.R index 82b7444..ce164f9 100644 --- a/tests/testthat/test-diversity.R +++ b/tests/testthat/test-diversity.R @@ -70,7 +70,7 @@ test_that("test diversity",{ axis.title = element_text(size = 14) ) - hist(diversity_items$het_df$ObservedHeterozygosity, breaks = as.numeric(input$hist_bins), col = "tan3", border = "black", xlim= c(0,1), + hist(diversity_items$het_df$Ho, breaks = as.numeric(input$hist_bins), col = "tan3", border = "black", xlim= c(0,1), xlab = "Observed Heterozygosity", ylab = "Number of Samples", main = "Sample Observed Heterozygosity")