diff --git a/tests/testthat/test-getDegTx.R b/tests/testthat/test-getDegTx.R index 314ecbe..76fdf4f 100644 --- a/tests/testthat/test-getDegTx.R +++ b/tests/testthat/test-getDegTx.R @@ -62,6 +62,6 @@ test_that("getDegTx works with original and altered row names", { rownames(altered_covComb_tx_deg) <- gsub("\\..*", "", rownames(covComb_tx_deg)) altered_results <- getDegTx(altered_covComb_tx_deg,sig_transcripts =select_transcripts("cell_component")) - # Test if the results are equal - expect_equal(original_results, altered_results) + # Temporarily remove row names for comparison + expect_equal(unname(original_results), unname(altered_results)) }) \ No newline at end of file