Get genotypes matrix (counts of reference allele) from a vcfR object

get_genotypes_vcfR(x, ind_names = NULL, marker_names = NULL)

Arguments

x

a vcfR object

ind_names

names of thh individuals to extract

marker_names

names of the markers to extract

Value

genotype matrix ind x marker with counts of the reference allele

Author

Marcin Kierczak <marcin.kierczak@scilifelab.se>