Make inference in a mixture of discrete Laplace distributions using the EM algorithm. This can e.g. be used for modelling the distribution of Y chromosomal haplotypes as described in [1, 2] (refer to the URL section).
An R package (https://www.r-project.org/) to perform inference in a mixture of discrete Laplace distributions using the EM algorithm. Intended for forensic Y chromosomal STR (Y-STR) haplotype analyses.
See documentation included in package (vignettes and manual) at https://mikldk.github.io/disclapmix/.
You first need
Then you can install
disclapmix from CRAN using
You can also install the development version from GitHub by using the
remotes package (https://CRAN.R-project.org/package=remotes):
Refer to the included vignettes. You can get an overview of the included vignettes by the following
vignette(package = "disclapmix")
To read a vignette, type:
vignette("introduction", package = "disclapmix")
Note that to also install the tests, you need to install the package as follows:
# install.packages("remotes")remotes::install_github("mikldk/disclapmix", INSTALL_opts="--install-tests")
You can now run the tests:
Please use the issue tracker at https://github.com/mikldk/disclapmix/issues if you want to notify us of an issue or need support. If you want to contribute, please either create an issue or make a pull request.
Andersen MM, PS Eriksen, N Morling (2013). The discrete Laplace exponential family and estimation of Y-STR haplotype frequencies. Journal of Theoretical Biology 329. https://doi.org/10.1016/j.jtbi.2013.03.009
Andersen MM, PS Eriksen, N Morling (2013). A gentle introduction to the discrete Laplace method for estimating Y-STR haplotype frequencies. arXiv:1304.2129. https://arxiv.org/abs/1304.2129
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The Journal of Open Source Software:
Changes in version 1.7.2
Changes in version 1.7.1
Changes in version 1.7
Changes in version 1.6.3
Changes in version 1.6.2
Changes in version 1.6.1
Changes in version 1.6
Changes in version 1.5
Changes in version 1.4
Changes in version 1.3
Changes in version 1.2
Changes in version 1.1
Changes in version 1.0
Changes in version 0.4
Changes in version 0.3
Changes in version 0.2 * disclapmix: verbose more fine grained * FIXED: disclapmix: use.parallel = TRUE created problems under Windows * Corrected minor documentation errors
Changes in version 0.1 * Initial release