public interface DefaultGenotypeData extends FrequencyGenotypeData
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfObservedAllelesPerIndividual(int markerIndex)
Get the number of observed alleles per individual for a given marker.
|
String |
getObservedAllele(int id,
int markerIndex,
int i)
Get the reference of the i-th observed allele for the given marker, in the given entry.
|
getAlleleFrequency, getAlleleName, getMarkerName, getNumberOfAlleles, getNumberOfMarkers, getTotalNumberOfAlleles, hasMissingValues, writeData, writeData
int getNumberOfObservedAllelesPerIndividual(int markerIndex)
markerIndex
- the index of the marker within the range 0 to n-1, where n is the total number of
markers as returned by FrequencyGenotypeData.getNumberOfMarkers()
String getObservedAllele(int id, int markerIndex, int i)
null
if no allele was detected here.id
- the id of the entry, must be one of the IDs returned by Data.getIDs()
markerIndex
- the index of the marker within the range 0 to n-1, where n is the total number of markers
as returned by FrequencyGenotypeData.getNumberOfMarkers()
i
- observation index within the range 0 to k-1, where k is the number of observed alleles per individual,
for the given marker, as returned by getNumberOfObservedAllelesPerIndividual(int)
null
if missingCopyright © 2017. All rights reserved.