Home | Using Katmandoo | Quick Start Guide | How-to | Task Menu | Table of Contents | See Also | Collapse All

Design Type

Overview

Design type identifies type of a trial design.

Some examples:
  1. Randomised Block using DiGGer 
    • The trial design of this design type is generated by the DiGGer.
  2. Unknown Design Type

Detail

Unknown Design Type

The DesignType table has a record for Unknown Design Type (Design Type Name = Unknown Design Type) which can be used when the design type information is not available.

The string value of the "UnknownDesignTypeName" key in the .config file must match the Unknown Design Type record in the Design Type table. Please read important information before making any changes in the config file.
 
  <codeToDatabaseMappings>
    <!-- UNKNOWN Design type -->
        <add key="UnknownDesignTypeName" value="UNKNOWN DESIGN TYPE" />

      </codeToDatabaseMappings>
 

Template File for Design Type

The template file is used to generate input file for the trial design software such as DiGGer.
DiGGer Template File
During the trial design creation process, the DiGGer template file is cloned and named as Trial Acronym. Then each of the following tag (including < and > ) are replaced with actual value and the file is feed to DiGGer
 
<DiGGer_NoOfTreatments>
    <DiGGer_NoOfRows>
    <DiGGer_NoOfColumns>
    <DiGGer_NoOfRowsPerRep>
    <DiGGer_NoOfColumnsPerRep>
    <DiGGer_BlockBothDirection>
    <DiGGer_GenotypeFormatOfTrialDesignSoftware>


DiGGer processes the file and generate an output file which is used by Import Trial Design to import the trial design in to the database.

Table Structure

Column Name Description
DesignTypeId (PK) Identification Number that uniquely identifies a type of Trial Design.
DesignTypeName (AK) Name that uniquely identifies a type of Trial Design.
DesignSoftware The executable file of the Software (such as DiGGer) that is used to design the trial of this design type.

The file must be in the ExternalApplication folder (eg C:\Katmandoo\ExternalApplication).
DesignTemplateFile The template file defines how the parameter are required to be inserted in the input file for the design software. 
DesignGenotypeFormat The format of the GenotypeName and GenotypeId in the trial design input file.
DesignFactorAliasPrefix Prefix that will be used to find the factor for the Trial Design Parameter while importing trial design from the output file generated by the trial design software (such as DiGGer).

Main Form

Use [ Task > Trial > Raw Data > Manage Design Type ] to load Design Type Main Form with all the design types in the database.
Illustrative snapshot:
DesignType Main Form (Click it to change its size)

Setup Form

To add/edit an design type, follow the steps below :
Illustrative snapshot:
Design Type Setup Form (Click it to change its size)

  1. Design Type Name is disabled since the design type has trials. Click here for information on editing restricted value.
  2. Click load Open File Dialog to select the design software.
  3. Click load Open File Dialog to select the template file.
  4. Click to select the format in which the Genotype Name and Genotype Id will be exported into the trial design input file.
    • For DiGGer, "GenotypeName|GenotypeId" must be selected.
  5. Factor Alias Prefix that is used while importing trial design.

Export / Import

Export
Import

See Also