All functions

build_haplotypeids_hashmap()

Build hashmap of haplotype ids to individuals

build_pedigrees()

Build pedigrees from (individuals in) a population.

count_haplotype_occurrences_individuals()

Count haplotypes occurrences in list of individuals

count_haplotype_occurrences_pedigree()

Count haplotypes occurrences in pedigree

delete_haplotypeids_hashmap()

Delete haplotype id hashmap

get_generations_from_final()

Get individual's generations from final generation

get_haplotype()

Get haplotype from an individual

get_haplotype_id_individual()

Get haplotype id from individual

get_haplotype_ids_individuals()

Get haplotype ids from list of individuals

get_haplotype_matching_individuals()

Get individuals matching from list of individuals

get_haplotype_no_variants()

Get number of variants in haplotype

get_haplotypeid_matching_individuals_from_hashmap()

Get individuals with a certain haplotype id by hashmap lookup

get_haplotypes_in_pedigree()

Get haplotypes in pedigree

get_haplotypes_individuals()

Get haplotype matrix from list of individuals

get_haplotypes_pids()

Get haplotypes from a vector of pids.

get_individual()

Get individual by pid

get_individual_is_female()

Is individual female (or male)

get_individuals()

Get all individuals in population

get_individuals_is_female()

Is individuals females (or males)

get_is_female_in_pedigree()

Get sexes of individuals in pedigree

get_matches_info()

Information about matching individuals

get_nodes_edges()

Get nodes and edges

get_pedigree_as_graph()

Get pedigree information as graph (mainly intended for plotting)

get_pedigree_from_individual()

Get pedigree from individual

get_pedigree_id()

Get pedigree id

get_pedigree_id_from_pid()

Get pedigree ids from pids

get_pedigrees_tidy()

Get pedigrees information in tidy format

get_pid()

Get pid from individual

get_pids_in_pedigree()

Get pids in pedigree

haplotypes_to_hashes()

Convert haplotypes to hashes (integers)

infer_haplotype_ids()

Infer haplotype ids

meioses_generation_distribution()

Meiotic distribution

meiotic_dist()

Meiotic distance between two individuals

mitolina-package

MITOchondrial LINeage Analysis

mtdna_mut_Oversti

Mitogenome mutation rates according to Översti et al. (2017)

mtdna_mut_Rieux

Mitogenome mutation rates according to Rieux et al. (2014)

mtdna_partitions

Mitogenome annotated

mtdna_vars_Just

588 forensic-quality haplotypes representing three U.S. populations

pedigree_as_igraph()

Convert pedigree to igraph

pedigree_size()

Get pedigree size

pedigree_size_generation()

Size of pedigree

pedigrees_all_populate_haplotypes()

Populate haplotypes in pedigrees (founder types same for all).

pedigrees_all_populate_haplotypes_custom_founders()

Populate haplotypes in pedigrees (custom founder types).

pedigrees_count()

Get number of pedigrees

pedigrees_table()

Get distribution of pedigree sizes

population_size_generation()

Size of population

print_individual()

Print individual

sample_mtdna_geneology_varying_size()

Simulate a geneology with varying population size.

test_create_population()

Generate test population