public class GroupedResults extends Object
Outputs various files pertaining to the grouped-features to the filesystem.
Two categories of outputs occur:
Constructor and Description |
---|
GroupedResults() |
Modifier and Type | Method and Description |
---|---|
void |
addResultsFor(LabelledResultsVector results)
Adds a result to the group-writer, but doesn't write yet.
|
void |
writeGroupResults(Optional<NamedFeatureStore<FeatureInputResults>> featuresAggregate,
boolean includeGroups,
FeatureOutputMetadata outputMetadata,
FeatureCSVWriterFactory createAggregatedCSVWriter,
InputOutputContextSubdirectoryCache contextGroups)
Writes outputs for groups that have been previously added with
addResultsFor(org.anchoranalysis.feature.io.results.LabelledResultsVector) . |
public void addResultsFor(LabelledResultsVector results)
results
- the results.public void writeGroupResults(Optional<NamedFeatureStore<FeatureInputResults>> featuresAggregate, boolean includeGroups, FeatureOutputMetadata outputMetadata, FeatureCSVWriterFactory createAggregatedCSVWriter, InputOutputContextSubdirectoryCache contextGroups) throws OutputWriteFailedException
addResultsFor(org.anchoranalysis.feature.io.results.LabelledResultsVector)
.featuresAggregate
- features for aggregating existing results-calculations, if enabled.includeGroups
- whether to output "groups".outputMetadata
- additional information needed for the outputs in LabelledResultsCollector
.createAggregatedCSVWriter
- creating a CSVWriter for the aggregated outputs.contextGroups
- input-output context for the group outputs.OutputWriteFailedException
- if any Writing fails.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.