count_and_plot_ancestry_matrices {CKMRpop}R Documentation

Count up the number of different kinds of related pairs and make a plot

Description

This counts up all the different types of pairwise relationships and makes a plot (or multiple pages of them). For an example, see the Vignette: vignette("species_1_simulation", package = "CKMRpop").

Usage

count_and_plot_ancestry_matrices(
  Pairs,
  nrow = 6,
  ncol = 5,
  white_ball_size = 1
)

Arguments

Pairs

a tibble like that returned by compile_related_pairs().

nrow

the number of rows to plot per page

ncol

the number of columns to plot per page

white_ball_size

the size of the white dot plotted on top of the primary shared ancestors' cells.

Value

Returns a list with the following components:


[Package CKMRpop version 0.1.3 Index]