View source: R/summary_cohort.R
summary_cohort | R Documentation |
Summarise cohorts by number of founders, proportion of individuals genotyped and/or allele frequency information at a given locus.
summary_cohort(
id,
mother = NULL,
father = NULL,
cohort = NULL,
genotype = NULL,
genotype_delim = ""
)
id |
vector. Individual IDs |
mother |
vector. Maternal IDs corresponding to id. |
father |
vector. Paternal IDs corresponding to id. |
cohort |
vector (optional). Cohort number (e.g. birth year) corresponding to the id. |
genotype |
vector. Genotypes IDs corresponding to id. |
genotype_delim |
char. A character denoting the genotype delimited. Default = ”. |
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.