public interface BitStorage
net.maizegenetics.dna.snp.bit
for more information on how bits
encoding is used throughout TASSEL.Modifier and Type | Method and Description |
---|---|
BitSet |
allelePresenceForAllSites(int taxon)
Returns sequence of true/false values indicating whether taxon at each
site matches a specific allele.
|
BitSet |
allelePresenceForAllTaxa(int site)
Returns sequence of true/false values indicating whether site at each
taxon matches a specific allele.
|
long[] |
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.
|
BitSet |
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).
|
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).
|
long[] |
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).
|
BitSet allelePresenceForAllSites(int taxon)
taxon
- taxonBitSet allelePresenceForAllTaxa(int site)
site
- sitelong[] allelePresenceForSitesBlock(int taxon, int startBlock, int endBlock)
taxon
- taxonstartBlock
- starting blockendBlock
- end blockBitSet haplotypeAllelePresenceForAllSites(int taxon, boolean firstParent)
taxon
- taxonfirstParent
- true for first parent (false for second parent)BitSet haplotypeAllelePresenceForAllTaxa(int site, boolean firstParent)
site
- sitefirstParent
- true for first parent (false for second parent)long[] haplotypeAllelePresenceForSitesBlock(int taxon, boolean firstParent, int startBlock, int endBlock)
taxon
- taxonfirstParent
- true for first parent (false for second parent)startBlock
- starting blockendBlock
- end blockCopyright © 2018. All rights reserved.