plot_genedrop_cohort: 'plot_genedrop_cohort()': Plot a summary graph of an object...

View source: R/genedrop_plot_functions.R

plot_genedrop_cohortR 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.

Description

'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.

Usage

plot_genedrop_cohort(cohort_obj)

Arguments

cohort_obj

data.frame created by 'summary_cohort()'

Value

plot of output from 'summary_cohort()' function

Examples


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)

susjoh/genedroppeR documentation built on Sept. 9, 2024, 3:19 a.m.