View source: R/get.snapshot.single.R
| get.snapshot.single | R Documentation |
Function to derive snapshot of genotyping/phenotyping state of selected individuals
get.snapshot.single(
population,
database = NULL,
gen = NULL,
cohorts = NULL,
id = NULL,
phenotype.data = FALSE,
gain.data = FALSE,
digits = 3,
time.diff = 1,
min.time = -Inf,
max.time = Inf,
use.all.copy = TRUE,
verbose = TRUE,
time.points = NULL,
include.culled = FALSE
)
population |
Population list |
database |
Groups of individuals to consider for the export |
gen |
Quick-insert for database (vector of all generations to export) |
cohorts |
Quick-insert for database (vector of names of cohorts to export) |
id |
Individual IDs to search/collect in the database |
phenotype.data |
Set to TRUE to include information of number of phenotypes generated |
gain.data |
Set to TRUE to add information on changes in genetic level between cohorts (default: FALSE) |
digits |
Number of digits provided for the gain.data output (default: 3) |
time.diff |
Set to a target time interval to receive information between transitions to other cohorts (default: NA) |
min.time |
Earliest time point relevant for output results (default: -Inf) |
max.time |
Latest time point relevant for output results (default: Inf) |
use.all.copy |
Set to TRUE to extract phenotyping |
verbose |
Set to FALSE to not display any prints (default: TRUE) |
time.points |
Use this parameter to manual provide a vector of time points on results should be generated for (default: NULL) |
include.culled |
Set to TRUE to also include culled individuals in the statistics provided |
Snapshot Matrix
data(ex_pop)
get.snapshot.single(ex_pop, cohorts = "Cohort_2_M")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.