propTyped
is devoted to investigating the
structure of missing data in adegenet objects.
Methods are defined for ## S3 method for class 'genind':
propTyped(x, by=c("ind","loc","both"))
## S3 method for class 'genpop':
propTyped(x, by=c("pop","loc","both"))
by
equals "ind", "pop", or
"loc"), or a matrix of binary data (when by
equals "both")by
is set to "both", the result is a matrix of binary data
with entities in rows (individuals or populations) and markers in
columns. The values of the matrix are 1 for typed data, and 0 for NA.data(nancycats)
propTyped(nancycats,by="loc")
propTyped(genind2genpop(nancycats),by="both")
Run the code above in your browser using DataLab