public interface Transformers
Transformer
s
supplied by the core. Details of the tunable parameters for each Transformer
are specified here as well.Module: filter-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>filter-api</artifactId> </dependency>
Modifier and Type | Field and Description |
---|---|
static String |
ADJACENCY_TRANSFORMER
The id of the core Adjacency Transformer, which finds adjacent nodes and edges
based on how they are connected to the input nodes.
|
static String |
COLUMN_FILTER
The id of the core Column Filter, which finds nodes and edges based on their column values.
|
static String |
DEGREE_FILTER
The id of the core Degree Filter, which finds nodes based on their degree.
|
static String |
INTERACTION_TRANSFORMER
The id of the core Interaction Transformer, which finds nodes based on
how they are connected to the input edges.
|
static String |
TOPOLOGY_FILTER
The id of the core Topology Filter, which finds nodes based on the size
of their neighborhood.
|
static final String COLUMN_FILTER
type
nodes
edges
nodes+edges
caseSensitive
true
if
the predicate should be applied to the criterion in a case-sensitive way,
or false
, otherwise. columnName
criterion
Predicate
, this value is passed as
the second argument. In the case of a ternary predicate (e.g.
Predicate.BETWEEN
), this should be a 2-element
Number
array containing the second and third arguments.predicate
Predicate
used to test the column's cell value, which is
passed as the first argument to the predicate.static final String DEGREE_FILTER
edgeType
criterion
Predicate
, this value is passed as
the second argument. In the case of a ternary predicate (e.g.
Predicate.BETWEEN
), this should be a 2-element
Number
array containing the second and third arguments.predicate
Predicate
used to test against the node degree, which is
passed as the first argument to the predicate.static final String TOPOLOGY_FILTER
static final String INTERACTION_TRANSFORMER
selectSource
true
, adds the source nodes of the input edges to the TransformerSink
.selectTarget
true
, adds the target nodes of the input edges to the TransformerSink
.static final String ADJACENCY_TRANSFORMER
action
output
edgesAre
filterTarget
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.