|  | OpenMS
    2.6.0
    | 
 
 
  
  
 
Go to the documentation of this file.
  257       unsigned fraction_group = 1; 
 
  258       unsigned fraction = 1; 
 
  259       std::string path = 
"UNKNOWN_FILE"; 
 
  271         const std::vector< std::vector < String > >& content,
 
  272         const std::map< unsigned, Size >& sample_to_rowindex,
 
  273         const std::map< String, Size >& columnname_to_columnindex
 
  277       std::set< unsigned > getSamples() 
const;
 
  280       void addSample(
unsigned sample, 
const std::vector<String>& content = {});
 
  284       std::set< String > getFactors() 
const;
 
  287       bool hasSample(
unsigned sample) 
const;
 
  290       bool hasFactor(
const String &factor) 
const;
 
  293       String getFactorValue(
unsigned sample, 
const String &factor) 
const;
 
  296       Size getFactorColIdx( 
const String &factor) 
const;
 
  331     std::map<std::vector<String>, std::set<unsigned>> getUniqueSampleRowToSampleMapping() 
const;
 
  335     std::map<unsigned, unsigned> getSampleToPrefractionationMapping() 
const;
 
  339     std::map<unsigned int, std::vector<String> > getFractionToMSFilesMapping() 
const;
 
  344     std::vector<std::vector<std::pair<String, unsigned>>> getConditionToPathLabelVector() 
const;
 
  347     std::map<std::vector<String>, std::set<unsigned>> getConditionToSampleMapping() 
const;
 
  356     std::map< std::pair< String, unsigned >, 
unsigned> getPathLabelToPrefractionationMapping(
bool use_basename_only) 
const;
 
  360     std::map< std::pair< String, unsigned >, 
unsigned> getPathLabelToConditionMapping(
bool use_basename_only) 
const;
 
  364     std::map<unsigned, unsigned> getSampleToConditionMapping() 
const;
 
  367     std::map< std::pair< String, unsigned >, 
unsigned> getPathLabelToSampleMapping(
bool use_basename_only) 
const;
 
  370     std::map< std::pair< String, unsigned >, 
unsigned> getPathLabelToFractionMapping(
bool use_basename_only) 
const;
 
  373     std::map< std::pair< String, unsigned >, 
unsigned> getPathLabelToFractionGroupMapping(
bool use_basename_only) 
const;
 
  376     unsigned getNumberOfSamples() 
const;
 
  379     unsigned getNumberOfFractions() 
const;
 
  382     unsigned getNumberOfLabels() 
const;
 
  385     unsigned getNumberOfMSFiles() 
const;
 
  389     unsigned getNumberOfFractionGroups() 
const;
 
  392     unsigned getSample(
unsigned fraction_group, 
unsigned label = 1);
 
  396     bool isFractionated() 
const;
 
  399     bool sameNrOfMSFilesPerFraction() 
const;
 
  408     static ExperimentalDesign fromIdentifications(
const std::vector<ProteinIdentification>& proteins);
 
  413     std::vector< String > getFileNames_(
bool basename) 
const;
 
  416     std::vector<unsigned> getLabels_() 
const;
 
  419     std::vector<unsigned> getFractions_() 
const;
 
  422     std::map< std::pair< String, unsigned >, 
unsigned> pathLabelMapper_(
 
  430     static void errorIfAlreadyExists(std::set<T> &container, T &item, 
const String &message);
 
  
Base class for TOPP applications.
Definition: TOPPBase.h:144
Representation of an experimental design in OpenMS. Instances can be loaded with the ExperimentalDesi...
Definition: ExperimentalDesign.h:243
String & substitute(char from, char to)
Replaces all occurrences of the character from by the character to.
A container for all visual items of a TOPPAS workflow.
Definition: TOPPASScene.h:85
A more convenient string class.
Definition: String.h:59
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
static String getUniqueName(bool include_hostname=true)
Returns a string, consisting of date, time, hostname, process id, and a incrementing number....
bool hasPrefix(const String &string) const
true if String begins with string, false otherwise
static bool writable(const String &file)
Return true if the file is writable.
std::map< String, Size > columnname_to_columnindex_
Definition: ExperimentalDesign.h:310
static bool exists(const String &file)
Method used to test if a file exists.
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
std::vector< std::vector< String > > content_
Definition: ExperimentalDesign.h:302
Definition: ExperimentalDesign.h:264
static bool isDirectory(const String &path)
Return true if the given path specifies a directory.
A dictionary mapping string keys to lists of TOPPASResource objects.
Definition: TOPPASResources.h:55
void load(const QString &file_name)
Loads the dictionary from file file_name.
QString toQString() const
Conversion to Qt QString.
Definition: ExperimentalDesign.h:253
A container for consensus elements.
Definition: ConsensusMap.h:80
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:73
std::vector< MSFileSectionEntry > MSFileSection
Definition: ExperimentalDesign.h:313
A container for features.
Definition: FeatureMap.h:97
MSFileSection msfile_section_
Definition: ExperimentalDesign.h:435
SampleSection sample_section_
Definition: ExperimentalDesign.h:436
static String getTempDirectory()
The current OpenMS temporary data path (for temporary files)
static bool removeDirRecursively(const String &dir_name)
Removes the subdirectories of the specified directory (absolute path). Returns true if successful.
std::map< unsigned, Size > sample_to_rowindex_
Definition: ExperimentalDesign.h:306