getgenotypes_R function

fetch genotype matrix for specified markers (assemble by rows)