powered by
Generate LD pot
ld.decay( population, genotype.dataset = NULL, chromosomen = 1, dist = NULL, step = 5, max = 500, max.cases = 100, database = NULL, gen = NULL, cohorts = NULL, type = "snp", plot = FALSE )
Population list
Genotype dataset (default: NULL - just to save computation time when get.geno was already run)
Only consider a specific chromosome in calculations (default: 1)
Manuel input of marker distances to analyse
Stepsize to calculate LD
Maximum distance between markers to consider for LD-plot
Maximum number of marker pairs to consider of each distance (default: 100; randomly sampled!)
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)
Compute LD decay according to following distance measure between markers (default: "snp", alt: "bp", "cM")
Set to FALSE to not generate an LD plot
LD-decay plot for in gen/database/cohorts selected individuals
# NOT RUN { data(ex_pop) ld.decay(population=ex_pop, gen=5) # }
Run the code above in your browser using DataLab