powered by
Function to derive genotypes of selected individuals
get.geno( population, database = NULL, gen = NULL, cohorts = NULL, id = NULL, chromosome = "all", export.alleles = FALSE, non.genotyped.as.missing = FALSE, use.id = TRUE, array = NULL, remove.missing = TRUE )
Genotype data for in gen/database/cohorts selected individuals
Population list
Groups of individuals to consider for the export
Quick-insert for database (vector of all generations to export)
Quick-insert for database (vector of names of cohorts to export)
Individual IDs to search/collect in the database
Limit the genotype output to a selected chromosome (default: "all")
If TRUE export underlying alleles instead of just 012
Set to TRUE to replace non-genotyped markers with NA
Set to TRUE to use MoBPS ids instead of Sex_Nr_Gen based names (default: TRUE)
Use only markers available on the array
Remove markers not genotyped in any individual from the export
data(ex_pop) geno <- get.geno(ex_pop, gen=2)
Run the code above in your browser using DataLab