powered by
Function to derive snapshot of genotyping/phenotyping state of selected individuals
get.snapshot( population, database = NULL, gen = NULL, cohorts = NULL, id = NULL, phenotype.data = FALSE, gain.data = FALSE, digits = 3, use.all.copy = TRUE, time.diff = NA )
Snapshot-matrix
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
Set to TRUE to include information of number of phenotypes generated
Set to TRUE to add information on changes in genetic level between cohorts (default: FALSE)
Number of digits provided for the gain.data output (default: 3)
Set to TRUE to extract phenotyping
Set to a target time interval to receive information between transitions to other cohorts (default: NA)
data(ex_pop) get.snapshot(ex_pop, gen = 2)
Run the code above in your browser using DataLab