public class TranscriptionFactorExtractor
extends java.lang.Object
Constructor and Description |
---|
TranscriptionFactorExtractor()
Constructs a Transcriptionfactor with no network set.
|
TranscriptionFactorExtractor(Network network)
Constructs a Transcriptionfactor with an associated network and already calculates the metric from scratch.
|
Modifier and Type | Method and Description |
---|---|
int |
getAmountOfTF()
Returns the amount of nodes with at least one outgoing edge in the network.
|
Network |
getNetwork()
Returns the network associated with this extractor.
|
int |
getNodeSize()
Returns the amount of nodes in the network.
|
void |
incrementalUpdate(java.util.ArrayList<Link> nonCommittalDeleted,
java.util.ArrayList<Link> nonCommitalAdded)
Calculates and sets the regulatory gene function metric in an incremental way given lists of links added and deleted.
|
void |
revert()
Reverts back to the current state of the network associated with this extractor.
|
void |
setNetwork(Network network)
Sets the network associated with this extractor.
|
void |
update()
Calculates the regulatory gene function metric from scratch for the currently associated network
|
public TranscriptionFactorExtractor()
public TranscriptionFactorExtractor(Network network)
network
- the associated networkpublic int getAmountOfTF()
public int getNodeSize()
public void update()
public Network getNetwork()
public void setNetwork(Network network)
network
- the network which should be associated with this extractorpublic void incrementalUpdate(java.util.ArrayList<Link> nonCommittalDeleted, java.util.ArrayList<Link> nonCommitalAdded)
nonCommittalDeleted
- a list of links deleted from the current networknonCommitalAdded
- a list of links added to the networkpublic void revert()