pattern_label: Turn genotype probabilities into labels

View source: R/pattern_label.R

pattern_labelR Documentation

Turn genotype probabilities into labels

Description

Turn genotype probabilities into labels

Usage

pattern_label(genos, allele = TRUE)

pattern_sdp(label, sdp = NULL, geno_names = sort(unique(label)))

Arguments

genos

matrix of genotype probabilities at locus

allele

Driver has alleles if TRUE, otherwise allele pairs.

label

character string from pattern_label

sdp

SNP distribution pattern for plot colors

geno_names

unique genotype names (alleles or allele pairs)

Value

character vector of genotype names.


byandell/qtl2pattern documentation built on Nov. 9, 2023, 7:57 p.m.