Class LabelHeadersForCSV
Object
org.anchoranalysis.plugin.image.task.feature.LabelHeadersForCSV
public class LabelHeadersForCSV extends Object
Generates a list of header-names for columns unrelated to features (identifiers and groups)
- Author:
- Owen Feehan
-
Method Summary
Modifier and Type Method Description static org.anchoranalysis.feature.io.csv.metadata.LabelHeaderscreateHeaders(String[] nonGroupHeaders, Optional<String> additionalGroupHeader, boolean groupsEnabled)Creates the label-headers (the headers for columns not associated with features).
-
Method Details
-
createHeaders
public static org.anchoranalysis.feature.io.csv.metadata.LabelHeaders createHeaders(String[] nonGroupHeaders, Optional<String> additionalGroupHeader, boolean groupsEnabled)Creates the label-headers (the headers for columns not associated with features).- Parameters:
nonGroupHeaders- headers that identify the row unrelated to groups.additionalGroupHeader- additional group-header used after theGROUP_HEADER_STANDARDif groups are enabled.groupsEnabled- whether groups are enabled or not. Iff true, group headers are included.- Returns:
- the headers.
-