amm2tibble {CKMRpop}R Documentation

convert an ancestry-matching matrix to a ggplot-able tibble

Description

This merely converts a matrix to a tibble that can be plotted easily using ggplot.

Usage

amm2tibble(M)

Arguments

M

an ancestry-match matrix

Value

amm2tibble() returns a tibble with three columns:

Examples

# convert one of the simple example AMMs to a tibble
amm2tibble(example_amms$Father_Offspring_2gen)

[Package CKMRpop version 0.1.3 Index]