compare_founder_geno | R Documentation |
Count the number of matching genotypes between all pairs of founder lines.
compare_founder_geno(
cross,
omit_x = FALSE,
proportion = TRUE,
quiet = TRUE,
cores = 1
)
cross |
Object of class |
omit_x |
If TRUE, only use autosomal genotypes |
proportion |
If TRUE (the default), the upper triangle of the result contains the proportions of matching genotypes. If FALSE, the upper triangle contains counts of matching genotypes. |
quiet |
IF |
cores |
Number of CPU cores to use, for parallel calculations.
(If |
A square matrix; diagonal is number of observed genotypes
for each founder line. The values in the lower triangle are the
numbers of markers where both of a pair were genotyped. The
values in the upper triangle are either proportions or counts
of matching genotypes for each pair (depending on whether
proportion=TRUE
or =FALSE
). The object is given
class "compare_geno"
.
## Not run:
file <- paste0("https://raw.githubusercontent.com/rqtl/",
"qtl2data/main/DOex/DOex.zip")
DOex <- read_cross2(file)
cg <- compare_founder_geno(DOex)
summary(cg)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.