Package sc.fiji.snt.analysis
Class MultiTreeStatistics
java.lang.Object
org.scijava.AbstractContextual
org.scijava.command.ContextCommand
sc.fiji.snt.analysis.TreeStatistics
sc.fiji.snt.analysis.MultiTreeStatistics
- All Implemented Interfaces:
Runnable,org.scijava.Cancelable,org.scijava.command.Command,org.scijava.Contextual,org.scijava.plugin.SciJavaPlugin
Computes summary and descriptive statistics from univariate properties of
Tree groups. For analysis of individual Trees use
TreeStatistics.- Author:
- Tiago Ferreira
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringFlag specifyingTree valuestatisticsstatic final StringFlag for "Average branch length" analysis.static final StringFlag for "Average contraction" statisticsstatic final StringFlag specifying "Average fractal dimension" statisticsstatic final StringFlag for "Average fragmentation" statisticsstatic final StringFlag specifying "Average partition asymmetry" statisticsstatic final StringFlag specifying "Average remote bif. angle" statisticsstatic final StringFlag specifying "Highest path order" statisticsstatic final StringFlag for "Length of inner branches (sum)" analysis.static final StringDeprecated.use #PATH_MEAN_RADIUS insteadstatic final StringFlag for "Length of primary branches (sum)" analysis.static final StringFlag for "Length of terminal branches (sum)" analysis.Fields inherited from class sc.fiji.snt.analysis.TreeStatistics
AVG_SPINE_DENSITY, BRANCH_CONTRACTION, BRANCH_EXTENSION_ANGLE, BRANCH_EXTENSION_ANGLE_REL, BRANCH_EXTENSION_ANGLE_XY, BRANCH_EXTENSION_ANGLE_XZ, BRANCH_EXTENSION_ANGLE_ZY, BRANCH_FRACTAL_DIMENSION, BRANCH_LENGTH, BRANCH_MEAN_RADIUS, BRANCH_SURFACE_AREA, BRANCH_VOLUME, COMPLEXITY_INDEX_ACI, COMPLEXITY_INDEX_DCI, CONTRACTION, CONVEX_HULL_BOUNDARY_SIZE, CONVEX_HULL_BOXIVITY, CONVEX_HULL_CENTROID_ROOT_DISTANCE, CONVEX_HULL_COMPACTNESS_3D, CONVEX_HULL_ECCENTRICITY_2D, CONVEX_HULL_ELONGATION, CONVEX_HULL_ROUNDNESS, CONVEX_HULL_SIZE, DEPTH, FRACTAL_DIMENSION, GRAPH_DIAMETER, GRAPH_DIAMETER_ANGLE, GRAPH_DIAMETER_ANGLE_XY, GRAPH_DIAMETER_ANGLE_XZ, GRAPH_DIAMETER_ANGLE_ZY, HEIGHT, INNER_EXTENSION_ANGLE, INNER_EXTENSION_ANGLE_REL, INNER_EXTENSION_ANGLE_XY, INNER_EXTENSION_ANGLE_XZ, INNER_EXTENSION_ANGLE_ZY, innerBranches, INTER_NODE_ANGLE, INTER_NODE_DISTANCE, INTER_NODE_DISTANCE_SQUARED, lastDstats, LENGTH, N_BRANCH_NODES, N_BRANCH_POINTS, N_BRANCHES, N_FITTED_PATHS, N_INNER_BRANCHES, N_NODES, N_PATH_NODES, N_PATHS, N_PRIMARY_BRANCHES, N_SPINES, N_TERMINAL_BRANCHES, N_TIPS, NODE_RADIUS, PARTITION_ASYMMETRY, PATH_CHANNEL, PATH_CONTRACTION, PATH_EXT_ANGLE, PATH_EXT_ANGLE_REL, PATH_EXT_ANGLE_XY, PATH_EXT_ANGLE_XZ, PATH_EXT_ANGLE_ZY, PATH_FRACTAL_DIMENSION, PATH_FRAME, PATH_LENGTH, PATH_MEAN_RADIUS, PATH_N_SPINES, PATH_ORDER, PATH_SPINE_DENSITY, PATH_SURFACE_AREA, PATH_VOLUME, PRIMARY_EXTENSION_ANGLE, PRIMARY_EXTENSION_ANGLE_XY, PRIMARY_EXTENSION_ANGLE_XZ, PRIMARY_EXTENSION_ANGLE_ZY, primaryBranches, REMOTE_BIF_ANGLES, ROOT_ANGLE_B_FACTOR, ROOT_ANGLE_C_BIAS, ROOT_ANGLE_M_DIRECTION, SHOLL_DECAY, SHOLL_KURTOSIS, SHOLL_MAX_FITTED, SHOLL_MAX_FITTED_RADIUS, SHOLL_MAX_VALUE, SHOLL_MEAN_VALUE, SHOLL_N_MAX, SHOLL_N_SECONDARY_MAX, SHOLL_POLY_FIT_DEGREE, SHOLL_RAMIFICATION_INDEX, SHOLL_SKEWNESS, SHOLL_SUM_VALUE, statusService, STRAHLER_NUMBER, STRAHLER_RATIO, SURFACE_AREA, table, TERMINAL_EXTENSION_ANGLE, TERMINAL_EXTENSION_ANGLE_REL, TERMINAL_EXTENSION_ANGLE_XY, TERMINAL_EXTENSION_ANGLE_XZ, TERMINAL_EXTENSION_ANGLE_ZY, terminalBranches, tips, tree, VALUES, VOLUME, WIDTH, X_COORDINATES, Y_COORDINATES, Z_COORDINATES -
Constructor Summary
ConstructorsConstructorDescriptionMultiTreeStatistics(Collection<Tree> group) Instantiates a new instance from a collection of Trees.MultiTreeStatistics(Collection<Tree> group, String... swcTypes) Instantiates a new instance from a collection of Trees. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassembleStats(sc.fiji.snt.analysis.TreeStatistics.StatisticsInstance stat, String measurement) getAnnotatedLength(int level) Retrieves the amount of cable length present on each brain compartment innervated by the analyzed neuron.getAnnotatedLength(int level, String hemisphere) Retrieves the amount of cable length present on each brain compartment innervated by the analyzed neuron.getAnnotatedLength(int level, String hemisphere, boolean norm) Retrieves the amount of cable length present on each brain compartment innervated by the analyzed neuron.Map<BrainAnnotation, double[]> getAnnotatedLengthsByHemisphere(int level) Retrieves the amount of cable length present on each brain compartment innervated by the analyzed neuron in the two brain hemispheres.Retrieves the brain compartments (neuropil labels) associated with the Tree being measured innervated by the analyzed neuron.getAnnotations(int level) Retrieves the brain compartments (neuropil labels) associated with the Tree being measured innervated by the analyzed neuron.getBoxPlot(String measurement) Assembles a Box and Whisker Plot for the specified measurement (cell morphometry).Gets all the branches in the analyzed tree.Gets the position of all the branch points in the analyzed tree.doubleGets the cable length.doublegetCableLength(BrainAnnotation compartment) Gets the cable length associated with the specified compartment (neuropil label).org.apache.commons.math3.stat.descriptive.DescriptiveStatisticsgetDescriptiveStats(String metric) Computes theDescriptiveStatisticsfor the specified measurement.getFlowPlot(String feature, int depth) Assembles a Flow plot (aka Sankey diagram) for the specified feature using "mean" as integration statistic, no cutoff value, and all of the brain regions of the specified ontology depth.getFlowPlot(String feature, int depth, double cutoff, boolean normalize) Assembles a Flow plot (aka Sankey diagram) for the specified feature using "mean" as integration statistic, no cutoff value, and all of the brain regions of the specified ontology depthgetFlowPlot(String feature, Collection<BrainAnnotation> annotations) Assembles a Flow plot (aka Sankey diagram) for the specified feature using "mean" as integration statistic, and no cutoff value.getFlowPlot(String feature, Collection<BrainAnnotation> annotations, boolean normalize) Assembles a Flow plot (aka Sankey diagram) for the specified feature using "mean" as integration statistic, and no cutoff value.getFlowPlot(String feature, Collection<BrainAnnotation> annotations, String statistic, double cutoff, boolean normalize) Assembles a Flow plot (aka Sankey diagram) for the specified feature.getGroup()Gets the collection of Trees being analyzed.getHistogram(String metric) Retrieves the histogram of relative frequencies histogram for a univariate measurement.Retrieves the branches of highestStrahler orderin the Tree.Gets the list of metrics supported by MultiTreeStatistics.getPolarHistogram(String metric) Assembles a polar histogram for the specified metric (assumed to be an angular measurements (e.g., branch angles, path orientations).Retrieves the primary branches of the analyzed Tree.getRawValues(String metric) Gets theShollAnalyzerinstance associated with this TreeStatistics instance.protected StringGets theStrahlerAnalyzerinstance associated with this TreeStatistics instanceorg.apache.commons.math3.stat.descriptive.SummaryStatisticsgetSummaryStats(String metric) Computes theSummaryStatisticsfor the specified measurement.Retrieves the terminal branches of the analyzed Tree.getTips()Gets the position of all the tips in the analyzed tree.static voidMain method for testing and demonstration purposes.voidRemoves any filtering restrictions that may have been set.voidrestrictToSWCType(int... types) Restricts analysis to Paths sharing the specified SWC flag(s).voidSets an identifying label for the group of Trees being analyzed.Methods inherited from class sc.fiji.snt.analysis.TreeStatistics
contains, dispose, fromCollection, getAllMetrics, getAnnotatedLength, getAnnotatedLengthHistogram, getAnnotatedLengthHistogram, getAnnotatedLengthHistogram, getAnnotatedLengthHistogram, getAnnotatedLengthsByHemisphere, getAnnotatedLengthsByHemisphereHistogram, getAvgBranchLength, getAvgContraction, getAvgFractalDimension, getAvgFragmentation, getAvgPartitionAsymmetry, getAvgRemoteBifAngle, getBranchPoints, getBranchPoints, getCableLength, getCableLengthNorm, getCableLengthNorm, getCol, getConvexAnalyzer, getConvexHullMetric, getDepth, getFractalDimension, getHeight, getHighestPathOrder, getHistogram, getInnerLength, getMetric, getMetrics, getNBranches, getNBranchPoints, getNBranchPoints, getNBranchPointsNorm, getNBranchPointsNorm, getNextRow, getNFittedPaths, getNNodes, getNodeStatistics, getNodeStatistics, getNormalizedMeasurement, getNoSpinesOrVaricosities, getNPaths, getNTips, getNTips, getNTipsNorm, getNTipsNorm, getParsedTree, getPartitionAsymmetry, getPrimaryLength, getPrimaryPaths, getRemoteBifAngles, getRootAngleAnalyzer, getRootAngleMetric, getShollMetric, getSpineOrVaricosityDensity, getStrahlerBifurcationRatio, getStrahlerNumber, getSWCTypesAsString, getTable, getTerminalLength, getTips, getTips, getTips, getTips, getUnit, getWidth, isExactMetricMatch, isValid, lastDstatsCanBeRecycled, measure, measure, run, setExactMetricMatch, setTable, setTable, summarize, summarize, tryReallyHardToGuessMetric, updateAndDisplayTableMethods inherited from class org.scijava.command.ContextCommand
cancel, getCancelReason, isCanceledMethods inherited from class org.scijava.AbstractContextual
context, getContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.scijava.Contextual
setContext
-
Field Details
-
TERMINAL_LENGTH
Flag for "Length of terminal branches (sum)" analysis.- See Also:
-
INNER_LENGTH
Flag for "Length of inner branches (sum)" analysis.- See Also:
-
PRIMARY_LENGTH
Flag for "Length of primary branches (sum)" analysis.- See Also:
-
AVG_BRANCH_LENGTH
Flag for "Average branch length" analysis.- See Also:
-
ASSIGNED_VALUE
Flag specifyingTree valuestatistics- See Also:
-
HIGHEST_PATH_ORDER
Flag specifying "Highest path order" statistics- See Also:
-
AVG_CONTRACTION
Flag for "Average contraction" statistics- See Also:
-
AVG_FRAGMENTATION
Flag for "Average fragmentation" statistics- See Also:
-
AVG_REMOTE_ANGLE
Flag specifying "Average remote bif. angle" statistics- See Also:
-
AVG_PARTITION_ASYMMETRY
Flag specifying "Average partition asymmetry" statistics- See Also:
-
AVG_FRACTAL_DIMENSION
Flag specifying "Average fractal dimension" statistics- See Also:
-
MEAN_RADIUS
Deprecated.use #PATH_MEAN_RADIUS insteadFlag for "Mean radius" statistics- See Also:
-
-
Constructor Details
-
MultiTreeStatistics
Instantiates a new instance from a collection of Trees.- Parameters:
group- the collection of Trees to be analyzed
-
MultiTreeStatistics
public MultiTreeStatistics(Collection<Tree> group, String... swcTypes) throws NoSuchElementException Instantiates a new instance from a collection of Trees.- Parameters:
group- the collection of Trees to be analyzedswcTypes- SWC type(s) a string with at least 2 characters describing the SWC type allowed in the subtree (e.g., 'axn', or 'dendrite')- Throws:
NoSuchElementException-swcTypesare not applicable togroup
-
-
Method Details
-
getGroup
Gets the collection of Trees being analyzed.- Returns:
- the Tree group
-
setLabel
Sets an identifying label for the group of Trees being analyzed.- Parameters:
groupLabel- the identifying string for the group.
-
getSummaryStats
Description copied from class:TreeStatisticsComputes theSummaryStatisticsfor the specified measurement.- Overrides:
getSummaryStatsin classTreeStatistics- Parameters:
metric- the measurement (TreeStatistics.N_NODES,TreeStatistics.NODE_RADIUS, etc.)- Returns:
- the SummaryStatistics object.
-
getDescriptiveStats
public org.apache.commons.math3.stat.descriptive.DescriptiveStatistics getDescriptiveStats(String metric) Description copied from class:TreeStatisticsComputes theDescriptiveStatisticsfor the specified measurement.- Overrides:
getDescriptiveStatsin classTreeStatistics- Parameters:
metric- the measurement (TreeStatistics.N_NODES,TreeStatistics.NODE_RADIUS, etc.)- Returns:
- the DescriptiveStatistics object.
-
assembleStats
protected void assembleStats(sc.fiji.snt.analysis.TreeStatistics.StatisticsInstance stat, String measurement) throws UnknownMetricException - Overrides:
assembleStatsin classTreeStatistics- Throws:
UnknownMetricException
-
getSpatialUnit
- Overrides:
getSpatialUnitin classTreeStatistics
-
restrictToSWCType
public void restrictToSWCType(int... types) Description copied from class:TreeStatisticsRestricts analysis to Paths sharing the specified SWC flag(s).- Overrides:
restrictToSWCTypein classTreeStatistics- Parameters:
types- the allowed SWC flags (e.g.,Path.SWC_AXON, etc.)
-
resetRestrictions
public void resetRestrictions()Description copied from class:TreeStatisticsRemoves any filtering restrictions that may have been set. Once called, subsequent analysis will use all paths initially parsed by the constructor. Does nothing if no paths are currently being excluded from the analysis.- Overrides:
resetRestrictionsin classTreeStatistics
-
getStrahlerAnalyzer
Description copied from class:TreeStatisticsGets theStrahlerAnalyzerinstance associated with this TreeStatistics instance- Overrides:
getStrahlerAnalyzerin classTreeStatistics- Returns:
- the StrahlerAnalyzer instance associated with this TreeStatistics instance
- Throws:
IllegalArgumentException- if tree contains multiple roots or loops
-
getShollAnalyzer
Description copied from class:TreeStatisticsGets theShollAnalyzerinstance associated with this TreeStatistics instance. Note that changes toShollAnalyzermust be performed before retrieving Sholl related metrics, i.e., before callingTreeStatistics.measure(Collection, boolean), etc.- Overrides:
getShollAnalyzerin classTreeStatistics- Returns:
- the ShollAnalyzer instance associated with this TreeStatistics instance
-
getAnnotations
Description copied from class:TreeStatisticsRetrieves the brain compartments (neuropil labels) associated with the Tree being measured innervated by the analyzed neuron.- Overrides:
getAnnotationsin classTreeStatistics- Returns:
- the set of brain compartments (
BrainAnnotations) - See Also:
-
getAnnotations
Description copied from class:TreeStatisticsRetrieves the brain compartments (neuropil labels) associated with the Tree being measured innervated by the analyzed neuron.- Overrides:
getAnnotationsin classTreeStatistics- Parameters:
level- the max. ontological depth of the compartments to be retrieved- Returns:
- the set of brain compartments (
BrainAnnotations) - See Also:
-
getCableLength
public double getCableLength()Description copied from class:TreeStatisticsGets the cable length.- Overrides:
getCableLengthin classTreeStatistics- Returns:
- the cable length of the tree
-
getCableLength
Description copied from class:TreeStatisticsGets the cable length associated with the specified compartment (neuropil label).- Overrides:
getCableLengthin classTreeStatistics- Parameters:
compartment- the query compartment (null not allowed). All of its children will be considered- Returns:
- the filtered cable length
-
getAnnotatedLength
Description copied from class:TreeStatisticsRetrieves the amount of cable length present on each brain compartment innervated by the analyzed neuron.- Overrides:
getAnnotatedLengthin classTreeStatistics- Parameters:
level- the ontological depth of the compartments to be consideredhemisphere- typically 'left' or 'right'. The hemisphere flag (BrainAnnotation.LEFT_HEMISPHEREorBrainAnnotation.RIGHT_HEMISPHERE) is extracted from the first character of the string (case-insensitive). Ignored if not a recognized option- Returns:
- the map containing the brain compartments as keys, and cable lengths as values.
- See Also:
-
getAnnotatedLength
Description copied from class:TreeStatisticsRetrieves the amount of cable length present on each brain compartment innervated by the analyzed neuron.- Overrides:
getAnnotatedLengthin classTreeStatistics- Parameters:
level- the ontological depth of the compartments to be consideredhemisphere- typically 'left' or 'right'. The hemisphere flag (BrainAnnotation.LEFT_HEMISPHEREorBrainAnnotation.RIGHT_HEMISPHERE) is extracted from the first character of the string (case-insensitive). Ignored if not a recognized optionnorm- whether length should be normalized to the cells' cable length- Returns:
- the map containing the brain compartments as keys, and cable lengths as values.
- See Also:
-
getAnnotatedLength
Description copied from class:TreeStatisticsRetrieves the amount of cable length present on each brain compartment innervated by the analyzed neuron.- Overrides:
getAnnotatedLengthin classTreeStatistics- Parameters:
level- the ontological depth of the compartments to be considered- Returns:
- the map containing the brain compartments as keys, and cable lengths as values.
- See Also:
-
getAnnotatedLengthsByHemisphere
Description copied from class:TreeStatisticsRetrieves the amount of cable length present on each brain compartment innervated by the analyzed neuron in the two brain hemispheres. Lengths are absolute and not normalized to the cells' cable length.- Overrides:
getAnnotatedLengthsByHemispherein classTreeStatistics- Parameters:
level- the ontological depth of the compartments to be considered- Returns:
- the map containing the brain compartments as keys, and cable lengths per hemisphere as values.
- See Also:
-
getHistogram
Description copied from class:TreeStatisticsRetrieves the histogram of relative frequencies histogram for a univariate measurement. The number of bins is determined using the Freedman-Diaconis rule.- Overrides:
getHistogramin classTreeStatistics- Parameters:
metric- the measurement (TreeStatistics.N_NODES,TreeStatistics.NODE_RADIUS, etc.)- Returns:
- the frame holding the histogram
-
getPolarHistogram
Description copied from class:TreeStatisticsAssembles a polar histogram for the specified metric (assumed to be an angular measurements (e.g., branch angles, path orientations).- Overrides:
getPolarHistogramin classTreeStatistics- Parameters:
metric- the metric to be plotted (e.g.,TreeStatistics.BRANCH_EXTENSION_ANGLE_XY,TreeStatistics.PATH_EXT_ANGLE_XY, etc.)- Returns:
- the polar histogram chart
- See Also:
-
getRawValues
-
getTips
Description copied from class:TreeStatisticsGets the position of all the tips in the analyzed tree.- Overrides:
getTipsin classTreeStatistics- Returns:
- the set of terminal points
-
getBranchPoints
Description copied from class:TreeStatisticsGets the position of all the branch points in the analyzed tree.- Overrides:
getBranchPointsin classTreeStatistics- Returns:
- the branch points positions
-
getBranches
Description copied from class:TreeStatisticsGets all the branches in the analyzed tree. A branch is defined as the Path composed of all the nodes between two branching points or between one branching point and a termination point.- Overrides:
getBranchesin classTreeStatistics- Returns:
- the list of branches as Path objects.
- Throws:
IllegalArgumentException- if tree contains multiple roots or loops- See Also:
-
getPrimaryBranches
Description copied from class:TreeStatisticsRetrieves the primary branches of the analyzed Tree. Primary branches (or root-associated) have origin in the Tree's root, extending to the closest branch/end-point. Note that a primary branch can also be terminal.- Overrides:
getPrimaryBranchesin classTreeStatistics- Returns:
- the primary branches. Note that these branches (Path segments) will not carry any connectivity information.
- See Also:
-
getInnerBranches
Description copied from class:TreeStatisticsRetrieves the branches of highestStrahler orderin the Tree. This typically correspond to the most 'internal' branches of the Tree in direct sequence from the root.- Overrides:
getInnerBranchesin classTreeStatistics- Returns:
- the list containing the "inner" branches. Note that these branches (Path segments) will not carry any connectivity information.
- See Also:
-
getTerminalBranches
Description copied from class:TreeStatisticsRetrieves the terminal branches of the analyzed Tree. A terminal branch corresponds to the section of a terminal Path between its last branch-point and its terminal point (tip). A terminal branch can also be primary.- Overrides:
getTerminalBranchesin classTreeStatistics- Returns:
- the terminal branches. Note that as per
Path.getSection(int, int), these branches will not carry any connectivity information. - See Also:
-
getBoxPlot
Assembles a Box and Whisker Plot for the specified measurement (cell morphometry).- Parameters:
measurement- the measurement (N_NODES,NODE_RADIUS, etc.)- Returns:
- the SNTChart holding the box plot
- See Also:
-
getFlowPlot
public SNTChart getFlowPlot(String feature, Collection<BrainAnnotation> annotations, boolean normalize) Description copied from class:TreeStatisticsAssembles a Flow plot (aka Sankey diagram) for the specified feature using "mean" as integration statistic, and no cutoff value.- Overrides:
getFlowPlotin classTreeStatistics- See Also:
-
getFlowPlot
Description copied from class:TreeStatisticsAssembles a Flow plot (aka Sankey diagram) for the specified feature using "mean" as integration statistic, no cutoff value, and all of the brain regions of the specified ontology depth.- Overrides:
getFlowPlotin classTreeStatistics- Parameters:
feature- the feature ("Cable length", "No. of branch points", "No. of tips", etc.).depth- the ontological depth of the compartments to be considered- Returns:
- the flow plot
- See Also:
-
getFlowPlot
Description copied from class:TreeStatisticsAssembles a Flow plot (aka Sankey diagram) for the specified feature using "mean" as integration statistic, no cutoff value, and all of the brain regions of the specified ontology depth. *- Overrides:
getFlowPlotin classTreeStatistics- Parameters:
feature- the feature ("Cable length", "No. of branch points", "No. of tips", etc.)depth- the ontological depth of the compartments to be consideredcutoff- a filtering option. If the computedfeaturefor an annotation is below this value, that annotation is excluded from the plot * @param normalize If true, values are retrieved as ratios. E.g., Iffeatureis "Cable length", andcutoff0.1, BrainAnnotations inannotationsassociated with less than 10% of cable length are ignored.- Returns:
- the flow plot
-
getFlowPlot
Description copied from class:TreeStatisticsAssembles a Flow plot (aka Sankey diagram) for the specified feature using "mean" as integration statistic, and no cutoff value.- Overrides:
getFlowPlotin classTreeStatistics- See Also:
-
getFlowPlot
public SNTChart getFlowPlot(String feature, Collection<BrainAnnotation> annotations, String statistic, double cutoff, boolean normalize) Description copied from class:TreeStatisticsAssembles a Flow plot (aka Sankey diagram) for the specified feature.- Overrides:
getFlowPlotin classTreeStatistics- Parameters:
feature- the feature ("Cable length", "No. of branch points", "No. of tips", etc.). Note that the majority ofTreeStatistics.getAllMetrics()metrics are currently not supported.annotations- the BrainAnnotations to be queried. Null not allowed.statistic- the integration statistic (lower case). Either "mean", "sum", "min" or "max". Null not allowed.cutoff- a filtering option. If the computedfeaturefor an annotation is below this value, that annotation is excluded from the plotnormalize- If true, values are retrieved as ratios. E.g., Iffeatureis "Cable length", andcutoff0.1, BrainAnnotations inannotationsassociated with less than 10% of cable length are ignored.- Returns:
- the SNTChart holding the flow plot
-
getMetrics
Gets the list of metrics supported by MultiTreeStatistics.Returns all the metrics that can be computed for groups of trees, including aggregate measures and group-specific statistics.
- Returns:
- the list of supported metric names
-
main
Main method for testing and demonstration purposes.Creates a MultiTreeStatistics instance using demo data and displays various analysis plots including histograms and flow plots. This method is primarily used for development and debugging.
- Parameters:
args- command line arguments (not used)
-