Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Description: A multi-task learning approach to variable selection regression wit
Encoding: UTF-8
LazyDataCompression: xz
LazyData: true
RoxygenNote: 7.3.2
RoxygenNote: 7.3.3
URL: https://github.com/StatFunGen/colocboost
BugReports: https://github.com/StatFunGen/colocboost/issues
Depends:
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/test_inference.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ test_that("get_robust_colocalization filters results correctly", {
cb_res <- generate_test_result()

# Basic call
expect_error(get_robust_colocalization(cb_res), NA)
expect_error(suppressWarnings(get_robust_colocalization(cb_res)), NA)

# With stricter thresholds
expect_error(get_robust_colocalization(cb_res, cos_npc_cutoff = 0.8), NA)
expect_error(suppressWarnings(get_robust_colocalization(cb_res, cos_npc_cutoff = 0.8)), NA)

# With p-value threshold
expect_error(get_robust_colocalization(cb_res, pvalue_cutoff = 0.05), NA)
expect_error(suppressWarnings(get_robust_colocalization(cb_res, pvalue_cutoff = 0.05)), NA)
})

# Test for get_hierarchical_clusters
Expand Down
Loading