Closed magnusdv closed 2 years ago
library(pedtools)
This works:
singleton(1) |> addMarker(alleles = 1:2) #> id fid mid sex <1> #> 1 * * 1 -/-
But not this:
list(singleton(1), singleton(2)) |> addMarker(alleles = 1:2) #> Error: Genotypes must be named
Created on 2022-03-08 by the reprex package (v2.0.1)
This works:
But not this:
Created on 2022-03-08 by the reprex package (v2.0.1)