Closed pdimens closed 3 years ago
should be
function isbiallelic(data::PopData)
mtx = reshape(data.loci.genotype, length(loci(data)), :)
all(map(isbiallelic, eachrow(mtx)))
end
with an extra conditional to make sure the PopData
is sorted by [:name, :locus]
description The function
isbiallelic(::PopData)
returnsfalse
even if allisbiallelic(::GenoArray)
for thePopData
aretrue
minimal example to reproduce
expected behavior