get_missing_distance: Get pairwise missingness distances based on discordance

Description Usage Arguments

Description

Discordance here is defined as the proportion of loci that do not match in their missingness status, i.e. one sample is missing at that locus and the other is not. This is equivalent to the Manhattan distance between rows of the missingness matrix.

Usage

1
get_missing_distance(missing_matrix)

Arguments

missing_matrix

matrix of missingness encoded as a binary variable.


bobverity/missdiva documentation built on May 28, 2019, 1:18 p.m.