Skip to content

onestep model: alleles without neighbours #8

@thoree

Description

@thoree

Maybe rather an error indicating that neigbors are needed:

pedmut::mutationModel("onestep", alleles = c(1:2,4), rate = 0.002)
#>     1     2     4 
#> 1.000 1.000 0.998
#> Error: Rows which do not sum to 1 (after rounding to 3 decimal places): 3

Created on 2019-10-28 by the reprex package (v0.3.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions