vcf_extract_pops
vcf_extract_pops.Rd
extract vcfR format data by group
Details
This function extracts the vcfR object by group(s) (individuals assigned to one or more group), returning new vcfR object
Examples
vcf_extract_pops(vcf = my_vcf, ind_pop = ind_pop, keep_pop = keepers, whitelist = TRUE)
#> Error: object 'ind_pop' not found
vcf_extract_pops(vcf = my_vcf, ind_pop = ind_pop, keep_pop = non_keepers, whitelist = FALSE)
#> Error: object 'ind_pop' not found
vcf_extract_pops(my_vcf, ind_pop, keepers)
#> Error: object 'ind_pop' not found