Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

summary_compare_geno

Basic summary of compare_geno object


Description

From results of compare_geno(), show pairs of individuals with similar genotypes.

Usage

summary_compare_geno(object, threshold = 0.9, ...)

## S3 method for class 'compare_geno'
summary(object, threshold = 0.9, ...)

## S3 method for class 'summary.compare_geno'
print(x, digits = 2, ...)

Arguments

object

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

threshold

Minimum proportion matches for a pair of individuals to be shown.

...

Ignored

x

Results of summary.compare_geno()

digits

Number of digits to print

Value

Data frame with names of individuals in pair, proportion matches, number of mismatches, number of matches, and total markers genotyped. Last two columns are the numeric indexes of the individuals in the pair.

Examples

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

qtl2

Quantitative Trait Locus Mapping in Experimental Crosses

v0.24
GPL-3
Authors
Karl W Broman [aut, cre] (<https://orcid.org/0000-0002-4914-6671>), R Core Team [ctb]
Initial release
2020-12-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.