max_compare_geno: Find pair with most similar genotypes

View source: R/compare_geno.R

max_compare_genoR Documentation

Find pair with most similar genotypes

Description

From results of compare_geno(), show the pair with most similar genotypes.

Usage

max_compare_geno(object, ...)

## S3 method for class 'compare_geno'
max(object, ...)

Arguments

object

A square matrix with genotype comparisons for pairs of individuals, as output by compare_geno().

...

Ignored

Value

Data frame with individual pair, proportion matches, number of mismatches, number of matches, and total markers genotyped.

Examples

grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
cg <- compare_geno(grav2)
max(cg)

qtl2 documentation built on May 29, 2024, 11:46 a.m.