Skip to content

Add simulatePedigrees() for simulating multiple families in one call#150

Open
Copilot wants to merge 9 commits intodev_mainfrom
copilot/feature-simulate-multiple-families
Open

Add simulatePedigrees() for simulating multiple families in one call#150
Copilot wants to merge 9 commits intodev_mainfrom
copilot/feature-simulate-multiple-families

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 13, 2026

  • Understand current simulatePedigrees ID scheme (fam_shift * pow_gen offset)
  • Add sequential ID remapping after rbindlist in simulatePedigrees(): personID becomes 1:nrow, momID/dadID/spouseID remapped accordingly
  • Update tests: removed raw ID match assertion for n_fam=1; added test verifying IDs are exactly 1:nrow and all parent/spouse refs are in range
  • Updated roxygen @return to document sequential IDs

@codacy-production
Copy link
Copy Markdown

codacy-production bot commented Apr 13, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

Copilot AI and others added 3 commits April 13, 2026 20:39
Copilot AI changed the title [WIP] Add feature to simulate multiple families at once Add simulatePedigrees() for simulating multiple families in one call Apr 13, 2026
Copilot AI requested a review from smasongarrison April 13, 2026 20:42
@smasongarrison smasongarrison changed the base branch from main to dev_main April 13, 2026 21:00
@smasongarrison smasongarrison marked this pull request as ready for review April 13, 2026 21:01
commit 42ae819
Author: Mason Garrison <garrissm@wfu.edu>
Date:   Mon Apr 13 16:08:31 2026 -0400

    Update test-makeLinks.R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] make it easier to simulate multiple famlies at once

2 participants