harmoniseMarkers | R Documentation |
This function ensures that all components of a ped list have the same markers, in the same order. Missing markers are added with empty genotypes. Note that unnamed markers cannot be harmonised and will be removed by this function.
harmoniseMarkers(x)
x |
A list of |
A copy of x
where all components have the same markers attached,
and in the same order. Unnamed markers are removed.
x = list(
singleton(1) |> addMarker(), # unnamed marker will be removed
singleton(2) |> addMarker(name = "M1"),
singleton(3) |> addMarker(geno = "3/3", alleles = 1:3, name = "M2")
)
harmoniseMarkers(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.