public BitStorage
Interface provides genotypes in a binary fashion to be used in rapid computation. See the package descriptions net.maizegenetics.dna.snp.bit for more information on how bits encoding is used throughout TASSEL.
BitSet allelePresenceForAllSites(int taxon)
Returns sequence of true/false values indicating whether taxon at each site matches a specific allele.
taxon - taxonBitSet allelePresenceForAllTaxa(int site)
Returns sequence of true/false values indicating whether site at each taxon matches a specific allele.
site - sitekotlin.Array[] allelePresenceForSitesBlock(int taxon,
int startBlock,
int endBlock)
Returns sequence of true/false values indicating whether taxon at sites (in given blocks, 64 sites per block including start block but excluding end block) matches a specific allele.
taxon - taxonstartBlock - starting blockendBlock - end blockBitSet haplotypeAllelePresenceForAllSites(int taxon, boolean firstParent)
Returns sequence of true/false values indicating whether taxon at each site for given parent matches a specific allele (based on frequency). Allele number of value 0 would be the major allele. Allele number of value 1 would be the minor allele. Allele number of value 2 would be the third most frequent allele value and so on.
taxon - taxonfirstParent - true for first parent (false for second parent)BitSet haplotypeAllelePresenceForAllTaxa(int site, boolean firstParent)
Returns sequence of true/false values indicating whether site at each taxon for given parent matches a specific allele (based on frequency). Allele number of value 0 would be the major allele. Allele number of value 1 would be the minor allele. Allele number of value 2 would be the third most frequent allele value and so on.
site - sitefirstParent - true for first parent (false for second parent)kotlin.Array[] haplotypeAllelePresenceForSitesBlock(int taxon,
boolean firstParent,
int startBlock,
int endBlock)
Returns sequence of true/false values indicating whether taxon at sites (in given blocks, 64 sites per block including start block but excluding end block) for given parent matches a specific allele (based on frequency). Allele number of value 0 would be the major allele. Allele number of value 1 would be the minor allele. Allele number of value 2 would be the third most frequent allele value and so on.
taxon - taxonfirstParent - true for first parent (false for second parent)startBlock - starting blockendBlock - end block