Man pages for eriqande/CKMRpop
Forward-in-Time Simulation and Tallying of Pairwise Relationships

amm2tibbleconvert an ancestry-matching matrix to a ggplot-able tibble
ancestor_abbrvsReturn a string of ancestor abbreviations in the order of the...
ancestor_vectors_cppFunction to make a vector of all the ancestors of an...
anc_match_masksReturn ancestry-matrix-zone masks for different relationship...
basic_amm_plothere is a function to plot a basic ancestry match matrix
cat_dom_relatCategorize the dominant relationship from an ancestry match...
compile_related_pairscompile pairwise relationships from the samples
count_and_plot_ancestry_matricesCount up the number of different kinds of related pairs and...
count_and_plot_mate_distributionCount and plot the number of mates each individuals has...
downsample_pairsdownsample the number of individuals sampled
empty_crpA tibble like that produced by 'compile_related_pairs()', but...
example_ammsa list of examples of ancestry-match matrices
find_ancestors_and_relatives_of_samplesFind ancestors and relative of each sampled member of a...
gg_add_generation_bandsAdd bands of transparent colors to denote generations on...
gg_add_zone_perimetersAdd perimeters around the relationship zones
ggplot_census_by_year_age_sexJust a simple plot function
growth_0.01_resultsThe result of running spip with growth 0.01 in the...
growth_n0.005_resultsThe result of running spip with growth -0.005 in the...
half_first_cousin_ammA half-first cousin ancestry match matrix
install_spipDownload the spip binary and install it where CKMRpop expects...
int_pow2Exponentiation function for integer arguments
leslie_from_spipReturn a Leslie-like matrix from the spip parameters
necessary_generationsMinimum number of generations for the ancestry match matrix...
pipePipe operator
plot_amm_from_matrixplot an ancestry matrix (or multiple such matrices) from its...
plot_conn_compsplot the graph showing the connected components
prepare_for_dfsPrepare input for the DFS relative-finding algorithm
primary_ancestor_pairsReturn a list of the indices of the primary shared ancestors
rcpp_ancestors_and_relativesfunction to test and use DFS stuff
recapture_pairsReturn the recaptures from amongst the samples
relationship_zone_namesrelationship zone names
relationship_zone_perimetersReturn the perimeters of all the relationship zones
relatives_from_ancestry_vectorsFind relatives amongst samples from their ancestor vectors
relpair_conn_compsFind connected components amongst the related pairs
run_spipRun spip in a user-specified directory
search_downDepth first search down the pedigree to N generations.
search_upDepth first search up the pedigree to N generations.
slurp_spipRead in the pedigree, census, and sampling information from...
species_1_life_historya list of life-history / life-table data for a hypothetical...
species_1_slurped_resultsThe result of running spip in the species_1_simulation...
species_1_slurped_results_100_lociThe result of running spip in the species_1_simulation...
species_1_slurped_results_1genThe result of running spip in the species_1_simulation...
species_2_life_historya list of life-history / life-table data for another...
spip_binaryfile path to be used in a call to spip
spip_binary_pathreturn the path where spip should be in the R system paths
spip_existsreturn TRUE if spip exists where it should be installed.
spip_helpprint the abbreviated usage information from spip
spip_help_fullprint the full usage information from spip
summarize_offspring_and_mate_numbersSummarize the distribution of number of offspring and number...
summarize_survival_from_censusSummarize annual sex-and-age-specific survival rates from the...
three_pops_no_mig_slurped_resultsThe result of running spip and slurping the output in the...
three_pops_with_mig_slurped_resultsThe result of running spip and slurping the output in the...
uncooked_spaghettiSummarise kin-pair information and use it to create uncooked...
eriqande/CKMRpop documentation built on Jan. 25, 2024, 2:10 p.m.