Description Usage Arguments Author(s) Examples
This function plots a chromosome in the range [xmin, xmax]. Colors indicate different ancestry.
1 | plot_chromosome(chrom, xmin, xmax)
|
chrom |
object of type chromosome, typically a table with two columns. The first column indicates the start of an ancestry block (location in Morgan), the second column indicates the ancestry type. |
xmin |
minimum value of the range, default = 0. |
xmax |
maximum value of the range, default = 1. |
Thijs Janzen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | wildpop = create_population(pop_size = 100,
number_of_founders = 10,
total_runtime = 5,
morgan = 1,
seed = 42)
isofemale <- create_iso_female(source_pop = wildpop,
n = 1,
inbreeding_pop_size = 100,
run_time = 100,
morgan = 1)
plot_chromosome(isofemale[[1]]$chromosome1)
plot_chromosome(isofemale[[1]]$chromosome1, xmin = 0.4, xmax = 0.6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.