Class ParameterOptionColumn

  • All Implemented Interfaces:
    IMZTabColumn

    public class ParameterOptionColumn
    extends OptionColumn
    An kind of OptionColumn which use CV parameter accessions in following the format: opt_{OBJECT_ID}_cv_{accession}_{parameter name}. Spaces within the parameter' s name MUST be replaced by '_'.
    Since:
    30/05/13
    Author:
    qingwei
    • Constructor Detail

      • ParameterOptionColumn

        public ParameterOptionColumn​(de.isas.mztab2.model.IndexedElement element,
                                     de.isas.mztab2.model.Parameter param,
                                     Class columnType,
                                     int offset)
        Define a OptionColumn which use CV parameter accessions in following the format: opt_{OBJECT_ID}_cv_{accession}_{parameter name}. Spaces within the parameter' s name MUST be replaced by '_'.
        Parameters:
        element - SHOULD not be null.
        param - SHOULD not be null.
        columnType - SHOULD not be null.
        offset - SHOULD be non-negative integer.
    • Method Detail

      • getHeader

        public static String getHeader​(de.isas.mztab2.model.IndexedElement element,
                                       de.isas.mztab2.model.Parameter param)
        get column header like: opt_{OBJECT_ID}_cv_{accession}_{parameter name} Spaces within the parameter's name MUST be replaced by '_'.
        Parameters:
        element - Assay, StudyVariable, MsRun or "global" (if the value relates to all replicates).
        param - SHOULD NOT be null.
        Returns:
        the string representation of this column's header.