public class AnnotationGraph extends SNTGraph<BrainAnnotation,AnnotationWeightedEdge>
| Modifier and Type | Field and Description |
|---|---|
static String |
BRANCH_POINTS |
static String |
EDGES |
static String |
LENGTH |
static String |
TIPS |
| Modifier | Constructor and Description |
|---|---|
protected |
AnnotationGraph() |
|
AnnotationGraph(Collection<Tree> trees,
String metric,
double threshold,
int maxOntologyDepth) |
| Modifier and Type | Method and Description |
|---|---|
void |
filterEdgesByWeight(int minWeight) |
int |
getMaxOntologyDepth() |
String |
getMetric() |
static String[] |
getMetrics() |
double |
getThreshold() |
List<Tree> |
getTrees() |
static void |
main(String[] args) |
Set<BrainAnnotation> |
removeOrphans() |
protected void |
show()
Displays this graph in a new instance of SNT's "Dendrogram Viewer".
|
double |
sumEdgeWeights()
Gets the sum of all edge weights.
|
applyEdges, applyVertices, filterEdges, filterVertices, getEdgeColor, getEdgeColorRGBMap, getVertexColor, getVertexColorRGBMap, getVertexValue, getVertexValueMap, setEdgeColor, setVertexColor, setVertexValueaddEdge, addEdge, addVertex, addVertex, clone, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeSource, getEdgeSupplier, getEdgeTarget, getEdgeWeight, getType, getVertexSupplier, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setEdgeSupplier, setEdgeWeight, setVertexSupplier, vertexSetassertVertexExist, containsEdge, equals, hashCode, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toString, toStringFromSetspublic static final String TIPS
public static final String LENGTH
public static final String BRANCH_POINTS
public static final String EDGES
protected AnnotationGraph()
public AnnotationGraph(Collection<Tree> trees, String metric, double threshold, int maxOntologyDepth)
public static String[] getMetrics()
public void filterEdgesByWeight(int minWeight)
public Set<BrainAnnotation> removeOrphans()
public double sumEdgeWeights()
protected void show()
public int getMaxOntologyDepth()
public double getThreshold()
public String getMetric()
public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.