calc_sdp: Calculate strain distribution pattern from SNP genotypes
Description
Calculate the strain distribution patterns (SDPs) from the strain
genotypes at a set of SNPs.
Usage
calc_sdp(geno)
Value
A vector of strain distribution patterns: integers between
1 and \(2^n - 2\) where \(n\) is the number of strains, whose
binary representation indicates the strain genotypes.
Arguments
geno
Matrix of SNP genotypes, markers x strains, coded as 1
(AA) and 3 (BB). Markers with values other than 1 or 3 are omitted,
and monomorphic markers, are omitted.