public class TreeStatistics extends TreeAnalyzer
Tree.BRANCH_ORDER, COMMON_MEASUREMENTS, INTER_NODE_DISTANCE, INTER_NODE_DISTANCE_SQUARED, LENGTH, MEAN_RADIUS, N_BRANCH_POINTS, N_NODES, NODE_RADIUS, VALUES, X_COORDINATES, Y_COORDINATES, Z_COORDINATES| Constructor and Description |
|---|
TreeStatistics(Tree tree)
Instantiates a new instance from a collection of Paths
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.math3.stat.descriptive.DescriptiveStatistics |
getDescriptiveStats(java.lang.String measurement)
Computes the
DescriptiveStatistics for the specified measurement. |
org.jfree.chart.ChartFrame |
getHistogram(java.lang.String measurement)
Gets the relative frequencies histogram for a univariate measurement.
|
org.apache.commons.math3.stat.descriptive.SummaryStatistics |
getSummaryStats(java.lang.String measurement)
Computes the
SummaryStatistics for the specified measurement. |
static void |
main(java.lang.String[] args) |
getBranchPoints, getCableLength, getNPaths, getParsedTree, getPrimaryBranches, getPrimaryLength, getPrimaryPaths, getStrahlerRootNumber, getTable, getTerminalBranches, getTerminalLength, getTips, ignoreSWCType, resetRestrictions, restrictToLength, restrictToNamePattern, restrictToOrder, restrictToSize, restrictToSWCType, run, setTable, setTable, summarize, summarize, updateAndDisplayTablepublic TreeStatistics(Tree tree)
tree - the collection of paths to be analyzedpublic org.apache.commons.math3.stat.descriptive.SummaryStatistics getSummaryStats(java.lang.String measurement)
SummaryStatistics for the specified measurement.measurement - the measurement (TreeAnalyzer.N_NODES, TreeAnalyzer.NODE_RADIUS,
etc.)public org.apache.commons.math3.stat.descriptive.DescriptiveStatistics getDescriptiveStats(java.lang.String measurement)
DescriptiveStatistics for the specified measurement.measurement - the measurement (TreeAnalyzer.N_NODES, TreeAnalyzer.NODE_RADIUS,
etc.)public org.jfree.chart.ChartFrame getHistogram(java.lang.String measurement)
measurement - the measurement (TreeAnalyzer.N_NODES, TreeAnalyzer.NODE_RADIUS,
etc.)public static void main(java.lang.String[] args)