max_compare_geno {qtl2} | R 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 |
... |
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)
[Package qtl2 version 0.36 Index]