View source: R/genedrop_plot_functions.R
plot_genedrop_cohort | R Documentation |
'plot_genedrop_cohort()': Plot a summary graph of an object produced by 'summary_cohort()'. This will plot the observed temporal dynamics of the locis, as well as the proprtion of founder individuals and genotyped individuals within each cohort.
plot_genedrop_cohort(cohort_obj)
cohort_obj |
data.frame created by 'summary_cohort()' |
plot of output from 'summary_cohort()' function
data(unicorn)
unicorn_summary <- summary_cohort(
id = unicorn$id,
mother = unicorn$mother,
father = unicorn$father,
cohort = unicorn$cohort,
genotype = unicorn$Horns
)
plot_genedrop_cohort(unicorn_summary)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.