Learn R Programming

qtl2pattern (version 1.2.1)

pattern_diplos: Extract pattern of diplotypes

Description

Extract pattern of diplotypes

Extract pattern of haplotypes

Usage

pattern_diplos(sdp, haplos, diplos, cont = NULL)

pattern_haplos(sdp, haplos)

Value

matrix of diplotype patterns

matrix of haplotype patterns

Arguments

sdp

vector of sdp from top_snps_pattern

haplos

vector of haplotype names

diplos

vector of diplotype names

cont

vector of types of contrasts (NULL or from c("add","dom","b6r","b6d"))

Author

Brian S Yandell, brian.yandell@wisc.edu