public class CoreHunterData
extends uno.informatics.data.pojo.DataPojo
implements org.jamesframework.core.problems.datatypes.IntegerIdentifiedData
Constructor and Description |
---|
CoreHunterData(DistanceMatrixData distancesData)
Initialize Core Hunter data consisting only of distances data.
|
CoreHunterData(uno.informatics.data.dataset.FeatureData phenotypicData)
Initialize Core Hunter data consisting only of phenotypicData data.
|
CoreHunterData(FrequencyGenotypeData genotypicData)
Initialize Core Hunter data consisting only of genotypic data.
|
CoreHunterData(FrequencyGenotypeData genotypicData,
uno.informatics.data.dataset.FeatureData phenotypicData,
DistanceMatrixData distancesData)
Initialize Core Hunter data consisting of genotypic data, phenotypic
traits and/or a precomputed distance matrix.
|
Modifier and Type | Method and Description |
---|---|
DistanceMatrixData |
getDistancesData() |
FrequencyGenotypeData |
getGenotypicData() |
uno.informatics.data.dataset.FeatureData |
getPhenotypicData() |
List<CoreHunterMeasure> |
getValidMeasures(CoreHunterObjectiveType objectiveType) |
List<CoreHunterObjectiveType> |
getValidObjectiveTypes() |
boolean |
hasDistances() |
boolean |
hasGenotypes() |
boolean |
hasPhenotypes() |
checkHeaders, getDataset, getHeader, getIDs, getSize, indexOf, indexOf, setDataset, updateOrCreateHeaders, updateOrCreateHeaders
equals, getName, getUniqueIdentifier, hashCode, initialise, setName, setUniqueIdentifier, toString
addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListener
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public CoreHunterData(FrequencyGenotypeData genotypicData, uno.informatics.data.dataset.FeatureData phenotypicData, DistanceMatrixData distancesData)
null
). Items should be ordered in the
same way across all datasets, which should all be of the same size n. If
headers are specified (item names and/or unique identifiers) in some or
all datasets these should also be consistent across datasets. If this is
not the case, an exception will be thrown.
Integer IDs as required by IntegerIdentifiedData
are set to [0,
n-1]. The name of the dataset is set to "Core Hunter data".
genotypicData
- genotypic data (bi- or multiallelic)phenotypicData
- phenotypic traitsdistancesData
- precomputed distance matrixpublic CoreHunterData(FrequencyGenotypeData genotypicData)
Integer IDs as required by IntegerIdentifiedData
are set to [0,
n-1]. The name of the dataset is set to "Core Hunter data".
genotypicData
- genotypic data (bi- or multiallelic)public CoreHunterData(uno.informatics.data.dataset.FeatureData phenotypicData)
Integer IDs as required by IntegerIdentifiedData
are set to [0,
n-1]. The name of the dataset is set to "Core Hunter data".
phenotypicData
- phenotypic traitspublic CoreHunterData(DistanceMatrixData distancesData)
Integer IDs as required by IntegerIdentifiedData
are set to [0,
n-1]. The name of the dataset is set to "Core Hunter data".
distancesData
- precomputed distance matrixpublic FrequencyGenotypeData getGenotypicData()
public uno.informatics.data.dataset.FeatureData getPhenotypicData()
public DistanceMatrixData getDistancesData()
public boolean hasGenotypes()
public boolean hasPhenotypes()
public boolean hasDistances()
public final List<CoreHunterObjectiveType> getValidObjectiveTypes()
public final List<CoreHunterMeasure> getValidMeasures(CoreHunterObjectiveType objectiveType)
Copyright © 2017. All rights reserved.