Skip to content

Commit

Permalink
Unfinished loop test
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusdv committed Feb 19, 2024
1 parent e820edb commit 58f65a9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/testthat/test-other-examples.R
Original file line number Diff line number Diff line change
Expand Up @@ -553,3 +553,15 @@ test_that("Some quick checks for pedigrees with loops", {

})


test_that("Loops & liabilities", {
skip()
x = cousinPed(degree = 0, half = T, child = TRUE) |> addSon(4:5)
FLB(x, carriers = c(1,4,6,7), aff = c(1,4,6,7), nonc = c(2:3,5), freq = 0.001,
penetrances = c(0,1,1), proband = 6, plot = T)

y = linearPed(2) |> addSon(3:4)
FLB(y, carriers = c(1,3,5,6), aff = c(1,3,5,6), nonc = c(2,4), freq = 0.001,
penetrances = c(0,1,1), proband = 5, plot = T)

})

0 comments on commit 58f65a9

Please sign in to comment.