public class RunOutput extends Object
Modifier and Type | Field and Description |
---|---|
protected Project |
p |
protected int |
runID |
Constructor and Description |
---|
RunOutput(Project p,
int runID)
Create a new empty output object.
|
Modifier and Type | Method and Description |
---|---|
void |
addConsensus(ConsensusNetwork cn)
Add a consensus output network.
|
void |
addDifferential(DifferentialNetwork dn)
Add a differential output network.
|
void |
addPair(OutputNetworkPair pair)
Add a pair of differential+consensus networks to this output.
|
void |
clean()
Clean the output.
|
Set<ConsensusNetwork> |
getConsensusNetworks()
Retrieve all consensus networks
|
Set<DifferentialNetwork> |
getDifferentialNetworks()
Retrieve all differential networks
|
Set<OutputNetworkPair> |
getOutputAsPairs()
Retrieve the differential and consensus networks as result pairs.
|
protected Project p
protected int runID
public RunOutput(Project p, int runID)
p
- the project to which this output object belongsrunID
- the corresponding run ID within the projectIllegalArgumentException
- when either of the provided networks is nullpublic void clean()
public void addPair(OutputNetworkPair pair)
pair
- the pair of differential and consensus output networkspublic void addDifferential(DifferentialNetwork dn)
dn
- the differential output networkpublic void addConsensus(ConsensusNetwork cn)
cn
- the consensus output networkpublic Set<OutputNetworkPair> getOutputAsPairs()
public Set<DifferentialNetwork> getDifferentialNetworks()
public Set<ConsensusNetwork> getConsensusNetworks()
Copyright © 2016. All rights reserved.