From e665a3b77f5c66297b9f36e1e0f7aacbe2dcd2b0 Mon Sep 17 00:00:00 2001 From: Magnus Dehli Vigeland Date: Fri, 28 Jun 2024 13:32:01 +0200 Subject: [PATCH] Increment version to 2.7.0; update NEWS --- DESCRIPTION | 2 +- NEWS.md | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 7fa1150..e0e707c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: pedtools Title: Creating and Working with Pedigrees and Marker Data -Version: 2.6.0.9001 +Version: 2.7.0 Authors@R: person("Magnus Dehli", "Vigeland", , "m.d.vigeland@medisin.uio.no", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-9134-4962")) diff --git a/NEWS.md b/NEWS.md index 914a6fd..a85d6c4 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,28 @@ +# pedtools 2.7.0 + +## New features + +* `plot.ped()` gains a new argument, `spouseOrder`, to specify the display order of spouses. + +* `readPed()` and `as.ped()` now include a `addMissingFounders` argument, supporting pedigree files where (some or all) founders are not explicitly listed (i.e., entries in the `fid` or `mid` columns that do not appear in the `id` column). + +* `readPed()` and `as.ped()` now also feature a `sexCodes` argument, accommodating pedigree files where sex is indicated by codes other than the standard 0 (unknown), 1 (male), 2 (female). + +* `reorderPed()` has improved flexibility, allowing the reordering of a subset of the pedigree. + +* `selfingPed()` now accepts a vector of ID labels as the first argument. (Previously, only the number of selfings could be given.) + +* The plotting argument `showEmpty`, controlling the appearance of missing genotypes, now accepts a function, e.g. `leaves()`. + +## Other changes + +* `getComponent()` behaves better when the pedigree has only one component. + +* `ped()` checks for illegal `sex` entries earlier than before, thus avoiding certain (rare) problems. + +* Brush up on code and documentation. + + # pedtools 2.6.0 This is a large release with several new features, including a few (relatively minor) breaking changes.