Skip to content

Commit

Permalink
test n min
Browse files Browse the repository at this point in the history
  • Loading branch information
robitalec committed Sep 19, 2024
1 parent ac92fab commit 0fe1c0a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/testthat/test-fusion-id.R
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,12 @@ test_that('larger n_max_missing returns less unique fusionID', {
fusion_id(edges, n_max_missing = 0)[, uniqueN(fusionID)]
)
})

test_that('larger n_min_length returns less unique fusionID', {
# When a larger n min length is provided, less fusion events are identified
# resulting in less unique fusion events
expect_lt(
fusion_id(edges, n_min_length = 3)[, uniqueN(fusionID)],
fusion_id(edges, n_min_length = 0)[, uniqueN(fusionID)]
)
})

0 comments on commit 0fe1c0a

Please sign in to comment.