From ad61ce90ab1f9ef6adce8ebd4045eb27f5e5d452 Mon Sep 17 00:00:00 2001 From: Magnus Dehli Vigeland Date: Fri, 25 Feb 2022 20:49:28 +0100 Subject: [PATCH] Increment version to 1.4.0; update NEWS --- DESCRIPTION | 2 +- NEWS.md | 17 +++++++++++++++++ R/findExclusions.R | 2 +- man/findExclusions.Rd | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 0931a52..cf80399 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: forrel Title: Forensic Pedigree Analysis and Relatedness Inference -Version: 1.3.0.9200 +Version: 1.4.0 Authors@R: c( 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 22c4c5b..417c523 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,20 @@ +# forrel 1.4.0 + +## New features + +* New function `findExclusions()` for identifying incompatible markers in identification cases. + +* `powerPlot()` gains a logical argument `jitter`, which can be switched on to avoid overplotting. + +* `checkPairwise()` gains an argument `excludeInbred`, which is TRUE by default. This is sensible since the plot shows estimated kappa coefficients, which are well-behaved only for pairs of noninbred individuals. + +## Other chages + +* **forrel** now requires R version 4.1 and recent versions of **pedtools** and **ribd**. This allowed many simplifications in code and examples. + +* Added **scales** as a suggested package. + + # forrel 1.3.0 ## New features diff --git a/R/findExclusions.R b/R/findExclusions.R index b466fc8..58af4d8 100644 --- a/R/findExclusions.R +++ b/R/findExclusions.R @@ -4,7 +4,7 @@ #' #' @param x A `ped` object or a list of such. #' @param id A character of length 1; the name of an untyped member of `x`. -#' @param candidate A singleton pedigreee, with genotypes for the same markers as `x`. +#' @param candidate A singleton pedigree, with genotypes for the same markers as `x`. #' @param removeMut A logical. If TRUE (default), all mutations models are stripped. #' @return A character vector containing the names of incompatible markers. #' diff --git a/man/findExclusions.Rd b/man/findExclusions.Rd index 51e0726..1f7bfdc 100644 --- a/man/findExclusions.Rd +++ b/man/findExclusions.Rd @@ -11,7 +11,7 @@ findExclusions(x, id, candidate, removeMut = TRUE) \item{id}{A character of length 1; the name of an untyped member of \code{x}.} -\item{candidate}{A singleton pedigreee, with genotypes for the same markers as \code{x}.} +\item{candidate}{A singleton pedigree, with genotypes for the same markers as \code{x}.} \item{removeMut}{A logical. If TRUE (default), all mutations models are stripped.} }