Learn R Programming

qtl2 (version 0.32)

max_compare_geno: 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 compare_geno max(object, ...)

Value

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

Arguments

object

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

...

Ignored

Examples

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

Run the code above in your browser using DataLab