Description Usage Arguments Value Examples
Find generations at which sweeps (or at least partial sweeps) occurred
1 | sweep_times(phylo, threshold, min_pop = 0)
|
phylo |
Dataframe containing phylogeny |
threshold |
Number between 0 and 1; a genotype must exceed this frequency to be considered dominant |
min_pop |
Genotypes with populations smaller than this size will be removed before analysis (default 0) |
Vector of generations at which (partial) sweeps occurred.
1 2 3 | library(dplyr)
phylo <- filter(driver_phylo, CellsPerSample == -1)
sweep_times(phylo, threshold = 0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.