org.forester.surfacing
Class DomainLengths
java.lang.Object
org.forester.surfacing.DomainLengths
public class DomainLengths
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainLengths
public DomainLengths(DomainId domain_id)
addLength
public void addLength(Species species,
int domain_length)
calculateMeanBasedStatistics
public DescriptiveStatistics calculateMeanBasedStatistics()
- Returns descriptive statistics based on the arithmetic means
for each species.
- Returns:
calculateZScoreForSpecies
public double calculateZScoreForSpecies(Species species)
- Note. This is not technically a Z-score since the distribution
of means is unknown (and not normal).
- Parameters:
species
-
- Returns:
getDomainId
public DomainId getDomainId()
getLengthStatistic
public DescriptiveStatistics getLengthStatistic(Species species)
getLengthStatisticsList
public List<DescriptiveStatistics> getLengthStatisticsList()
getMeanBasedOutlierSpecies
public List<Species> getMeanBasedOutlierSpecies(double z_score_limit)
getSpeciesList
public List<Species> getSpeciesList()
isHasLengthStatistic
public boolean isHasLengthStatistic(Species species)