pattern_label {qtl2pattern}R 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.


[Package qtl2pattern version 1.2.1 Index]