Skip to content

Commit 55fc014

Browse files
committed
Update tests
1 parent 169459e commit 55fc014

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/testthat/test-functions.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ test_that("orthologs all AGR genes", {
5050
# Mus musculus
5151
agr_mm <- agr_df[agr_df$species_name == "Mus musculus", ]
5252
set.seed(99)
53-
agr_hs_mm <- sample(unique(agr_mm$human_symbol), 1000)
53+
agr_hs_mm <- sample(unique(agr_mm$human_symbol), 5000)
5454
agr_hs_mm <- orthologs(genes = agr_hs_mm, species = "mouse", human = TRUE, min_support = 2)
5555
expect_s3_class(agr_hs_mm, "data.frame")
56-
expect_gt(length(unique(agr_hs_mm$human_symbol)), 950)
57-
expect_gt(length(unique(agr_hs_mm$symbol)), 950)
58-
expect_lt(length(unique(agr_hs_mm$symbol)), 1050)
56+
expect_gt(length(unique(agr_hs_mm$human_symbol)), 4700)
57+
expect_gt(length(unique(agr_hs_mm$symbol)), 4700)
58+
expect_lt(length(unique(agr_hs_mm$symbol)), 5200)
5959
# Drosophila melanogaster (14k coding genes)
6060
agr_dm <- agr_df[agr_df$species_name == "Drosophila melanogaster", ]
6161
set.seed(99)

0 commit comments

Comments
 (0)