Skip to content

numberofalleles

1.0.1

Compute the Probability Distribution of the Number of Alleles in a DNA Mixture

0packages depend
2.2Kdownloads / year
71.8%test coverage
9/13checks pass

Overview

About
Maintained by Maarten KruijverFirst published 2022-04-291 releasesCRAN page ↗

The number of distinct alleles observed in a DNA mixture is informative of the number of contributors to the mixture. The package provides methods for computing the probability distribution of the number of distinct alleles in a mixture for a given set of allele frequencies. The mixture contributors may be related according to a provided pedigree.

Install

Health

CRAN checks
4NOTE9OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
Slowest check: 2.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.14
71.8%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • NOTE2026-04-22
    10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    9 OK · 4 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
100%
References docs
18%

Downloads

2.2K
CRAN downloads in the past year
Rank #19,859 · ~6/day · ~181/mo
Daily download trend is not available in this view yet.
20330 days
60790 days
2.2K1 year
Compare downloads with other packages →
Also on420 r2u16 autocran

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (5)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 1,149 (49%)Rd 556 (24%)C++ 525 (22%)C 60 (3%)Vignettes 56 (2%)
Code characteristics
Object systems
S33
Cyclomatic complexity
2.0 median / 20 max
Test cases
7 / 0.14 per code line

Test coverage

Line coverage

72%

Expression

74.8%

Tests / Examples

71.8% / 66% ex

Functions

44 8 exported

Complexity

3.7 avg / 20 max

Call network

44 nodes / 41 edges

Loading call graph…

Lowest coverage

44 functions
FunctionCycloCoverage
pr_independent_alleles_ped exp90%
read_allele_freqs exp40%
columns10%
get_number_of_unique_alleles10%
plot.pf40%
mean.pf250%

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2022-04-29
Total releases
1 / 4 yrs
License
GPL (>= 2) OSI
Download size
44 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →