98 unsigned fraction_group = 1;
99 unsigned fraction = 1;
100 std::string path =
"UNKNOWN_FILE";
112 const std::vector< std::vector < String > >& content,
113 const std::map< unsigned, Size >& sample_to_rowindex,
114 const std::map< String, Size >& columnname_to_columnindex
118 std::set< unsigned > getSamples()
const;
121 std::set< String > getFactors()
const;
124 bool hasSample(
unsigned sample)
const;
127 bool hasFactor(
const String &factor)
const;
130 String getFactorValue(
unsigned sample,
const String &factor);
165 std::map<unsigned int, std::vector<String> > getFractionToMSFilesMapping()
const;
172 std::map< std::pair< String, unsigned >,
unsigned> getPathLabelToSampleMapping(
bool)
const;
175 std::map< std::pair< String, unsigned >,
unsigned> getPathLabelToFractionMapping(
bool)
const;
178 std::map< std::pair< String, unsigned >,
unsigned> getPathLabelToFractionGroupMapping(
bool)
const;
181 unsigned getNumberOfSamples()
const;
184 unsigned getNumberOfFractions()
const;
187 unsigned getNumberOfLabels()
const;
190 unsigned getNumberOfMSFiles()
const;
194 unsigned getNumberOfFractionGroups()
const;
197 unsigned getSample(
unsigned fraction_group,
unsigned label = 1);
201 bool isFractionated()
const;
204 bool sameNrOfMSFilesPerFraction()
const;
213 static ExperimentalDesign fromIdentifications(
const std::vector<ProteinIdentification> & proteins);
217 std::vector< String > getFileNames_(
bool basename)
const;
220 std::vector<unsigned> getLabels_()
const;
223 std::vector<unsigned> getFractions_()
const;
226 std::map< std::pair< String, unsigned >,
unsigned> pathLabelMapper_(
234 static void errorIfAlreadyExists(std::set<T> &container, T &item,
const String &message);
A more convenient string class.
Definition: String.h:57
A container for features.
Definition: FeatureMap.h:93
MSFileSection msfile_section_
Definition: ExperimentalDesign.h:239
A container for consensus elements.
Definition: ConsensusMap.h:75
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
std::map< unsigned, Size > sample_to_rowindex_
Definition: ExperimentalDesign.h:140
Representation of the Experimental Design in OpenMS. Instances can be loaded via the ExperimentalDesi...
Definition: ExperimentalDesign.h:85
Definition: ExperimentalDesign.h:94
std::map< String, Size > columnname_to_columnindex_
Definition: ExperimentalDesign.h:144
SampleSection sample_section_
Definition: ExperimentalDesign.h:240
Definition: ExperimentalDesign.h:105
std::vector< std::vector< String > > content_
Definition: ExperimentalDesign.h:136
std::vector< MSFileSectionEntry > MSFileSection
Definition: ExperimentalDesign.h:147