use Bio::MAGE::Experiment::ExperimentDesign;
# creating an empty instance my $experimentdesign = Bio::MAGE::Experiment::ExperimentDesign->new();
# creating an already populated instance my $experimentdesign = Bio::MAGE::Experiment::ExperimentDesign->new(replicateDescription=>$replicateDescription_value, types=>$types_value, experimentalFactors=>$experimentalFactors_value, qualityControlDescription=>$qualityControlDescription_value, topLevelBioAssays=>$topLevelBioAssays_value, normalizationDescription=>$normalizationDescription_value);
# setting and retrieving object associations my $replicateDescription_val = $experimentdesign->replicateDescription(); $experimentdesign->replicateDescription($value);
my $types_val = $experimentdesign->types(); $experimentdesign->types($value);
my $experimentalFactors_val = $experimentdesign->experimentalFactors(); $experimentdesign->experimentalFactors($value);
my $qualityControlDescription_val = $experimentdesign->qualityControlDescription(); $experimentdesign->qualityControlDescription($value);
my $topLevelBioAssays_val = $experimentdesign->topLevelBioAssays(); $experimentdesign->topLevelBioAssays($value);
my $normalizationDescription_val = $experimentdesign->normalizationDescription(); $experimentdesign->normalizationDescription($value);
From the MAGE-OM documentation for the ExperimentDesign
class:
The ExperimentDesign is the description and collection of ExperimentalFactors and the hierarchy of BioAssays to which they pertain.
Bio::MAGE::Experiment::ExperimentDesign has the following super classes
The following methods can all be called without first having an
instance of the class via the Bio::MAGE::Experiment::ExperimentDesign->methodname()
syntax.
new()
new(%args)
new()
accepts the following optional
named-value style arguments:
Bio::MAGE::Experiment::ExperimentDesign
).
Bio::MAGE::Experiment::ExperimentDesign
).
Bio::MAGE::Experiment::ExperimentDesign
).
Bio::MAGE::Experiment::ExperimentDesign
).
Bio::MAGE::Experiment::ExperimentDesign
).
Bio::MAGE::Experiment::ExperimentDesign
).
Bio::MAGE::Describable
).
Bio::MAGE::Describable
).
Bio::MAGE::Describable
).
Bio::MAGE::Extendable
).
set_slots(%parameters)
set_slots()
method is used to set a number of slots at the same
time. It has two different invocation methods. The first takes a named
parameter list, and the second takes two array references.
Return value: none
Side effects: will call croak()
if a slot_name is used that the class
does not define.
get_slots(@name_list)
get_slots()
method is used to get the values of a number of
slots at the same time.
Return value: a list of instance objects
Side effects: none
set_slot($name,$val)
set_slot()
method sets the slot $name
to the value $val
Return value: the new value of the slot, i.e. $val
Side effects: none
get_slot($name)
get_slot()
method is used to get the values of a number of
slots at the same time.
Return value: a single slot value, or undef if the slot has not been initialized.
Side effects: none
get_slot_names()
get_slot_names()
method is used to retrieve the name of all
slots defined for a given object.
Return value: a single slot value, or undef if the slot has not been initialized.
Side effects: none
class_name()
package()
subclasses()
superclasses()
attribute_methods()
association_methods()
associations()
Bio::MAGE::Association
objects that provide the meta-information for the association.
Attributes are simple data types that belong to a single instance of a class. In the Perl implementation of the MAGE-OM classes, the interface to attributes is implemented using separate setter and getter methods for each attribute.
Bio::MAGE::Experiment::ExperimentDesign: has the following attribute accessor methods:
Associations are references to other class objects which can be shared by multiple class instances at the same time. In the Perl implementation of MAGE-OM classes, associations are implemented using three separate methods:
Bio::MAGE::Experiment::ExperimentDesign: has the following association accessor methods:
replicateDescription
association:
Description of the replicate strategy of the Experiment.
setReplicateDescription($val)
Input parameters: the value to which the replicateDescription association will be set : an instance of type Bio::MAGE::Description::Description
.
Return value: the current value of the replicateDescription association : an instance of type Bio::MAGE::Description::Description
.
Side effects: none
Exceptions: will call croak()
if no input parameters are specified, or
if too many input parameters are specified , or if $val is not an instance of class Bio::MAGE::Description::Description
getReplicateDescription()
Input parameters: none
Return value: the current value of the replicateDescription association : an instance of type Bio::MAGE::Description::Description
.
Side effects: none
Exceptions: will call croak()
if any input parameters are specified
types
association:
Classification of an experiment. For example 'normal vs. diseased', 'treated vs. untreated', 'time course', 'tiling', etc.
setTypes($array_ref)
Input parameters: the value to which the types association will be set : a reference to an array of objects of type Bio::MAGE::Description::OntologyEntry
Return value: the current value of the types association : a reference to an array of objects of type Bio::MAGE::Description::OntologyEntry
Side effects: none
Exceptions: will call croak()
if no input parameters are specified, or
if too many input parameters are specified , or if $array_ref is not a reference to an array class Bio::MAGE::Description::OntologyEntry
instances
getTypes()
Input parameters: none
Return value: the current value of the types association : a reference to an array of objects of type Bio::MAGE::Description::OntologyEntry
Side effects: none
Exceptions: will call croak()
if any input parameters are specified
addTypes(@vals)
Input parameters: the list of values @vals
to add to the types
association. NOTE: submitting a single value is permitted.
Return value: none
Side effects: none
Exceptions: will call croak()
if no input parameters are specified
, or if any of the objects in @vals is not an instance of class Bio::MAGE::Description::OntologyEntry
experimentalFactors
association:
The description of the factors (TimeCourse, Dosage, etc.) that group the BioAssays.
setExperimentalFactors($array_ref)
Input parameters: the value to which the experimentalFactors association will be set : a reference to an array of objects of type Bio::MAGE::Experiment::ExperimentalFactor
Return value: the current value of the experimentalFactors association : a reference to an array of objects of type Bio::MAGE::Experiment::ExperimentalFactor
Side effects: none
Exceptions: will call croak()
if no input parameters are specified, or
if too many input parameters are specified , or if $array_ref is not a reference to an array class Bio::MAGE::Experiment::ExperimentalFactor
instances
getExperimentalFactors()
Input parameters: none
Return value: the current value of the experimentalFactors association : a reference to an array of objects of type Bio::MAGE::Experiment::ExperimentalFactor
Side effects: none
Exceptions: will call croak()
if any input parameters are specified
addExperimentalFactors(@vals)
Input parameters: the list of values @vals
to add to the experimentalFactors
association. NOTE: submitting a single value is permitted.
Return value: none
Side effects: none
Exceptions: will call croak()
if no input parameters are specified
, or if any of the objects in @vals is not an instance of class Bio::MAGE::Experiment::ExperimentalFactor
qualityControlDescription
association:
Description of the quality control aspects of the Experiment.
setQualityControlDescription($val)
Input parameters: the value to which the qualityControlDescription association will be set : an instance of type Bio::MAGE::Description::Description
.
Return value: the current value of the qualityControlDescription association : an instance of type Bio::MAGE::Description::Description
.
Side effects: none
Exceptions: will call croak()
if no input parameters are specified, or
if too many input parameters are specified , or if $val is not an instance of class Bio::MAGE::Description::Description
getQualityControlDescription()
Input parameters: none
Return value: the current value of the qualityControlDescription association : an instance of type Bio::MAGE::Description::Description
.
Side effects: none
Exceptions: will call croak()
if any input parameters are specified
topLevelBioAssays
association:
The organization of the BioAssays as specified by the ExperimentDesign (TimeCourse, Dosage, etc.)
setTopLevelBioAssays($array_ref)
Input parameters: the value to which the topLevelBioAssays association will be set : a reference to an array of objects of type Bio::MAGE::BioAssay::BioAssay
Return value: the current value of the topLevelBioAssays association : a reference to an array of objects of type Bio::MAGE::BioAssay::BioAssay
Side effects: none
Exceptions: will call croak()
if no input parameters are specified, or
if too many input parameters are specified , or if $array_ref is not a reference to an array class Bio::MAGE::BioAssay::BioAssay
instances
getTopLevelBioAssays()
Input parameters: none
Return value: the current value of the topLevelBioAssays association : a reference to an array of objects of type Bio::MAGE::BioAssay::BioAssay
Side effects: none
Exceptions: will call croak()
if any input parameters are specified
addTopLevelBioAssays(@vals)
Input parameters: the list of values @vals
to add to the topLevelBioAssays
association. NOTE: submitting a single value is permitted.
Return value: none
Side effects: none
Exceptions: will call croak()
if no input parameters are specified
, or if any of the objects in @vals is not an instance of class Bio::MAGE::BioAssay::BioAssay
normalizationDescription
association:
Description of the normalization strategy of the Experiment.
setNormalizationDescription($val)
Input parameters: the value to which the normalizationDescription association will be set : an instance of type Bio::MAGE::Description::Description
.
Return value: the current value of the normalizationDescription association : an instance of type Bio::MAGE::Description::Description
.
Side effects: none
Exceptions: will call croak()
if no input parameters are specified, or
if too many input parameters are specified , or if $val is not an instance of class Bio::MAGE::Description::Description
getNormalizationDescription()
Input parameters: none
Return value: the current value of the normalizationDescription association : an instance of type Bio::MAGE::Description::Description
.
Side effects: none
Exceptions: will call croak()
if any input parameters are specified
Associations Inherited from Bio::MAGE::Describable
security
association:
Information on the security for the instance of the class.
setSecurity($val)
Input parameters: the value to which the security association will be set : an instance of type Bio::MAGE::AuditAndSecurity::Security
.
Return value: the current value of the security association : an instance of type Bio::MAGE::AuditAndSecurity::Security
.
Side effects: none
Exceptions: will call croak()
if no input parameters are specified, or
if too many input parameters are specified , or if $val is not an instance of class Bio::MAGE::AuditAndSecurity::Security
getSecurity()
Input parameters: none
Return value: the current value of the security association : an instance of type Bio::MAGE::AuditAndSecurity::Security
.
Side effects: none
Exceptions: will call croak()
if any input parameters are specified
auditTrail
association:
A list of Audit instances that track changes to the instance of Describable.
setAuditTrail($array_ref)
Input parameters: the value to which the auditTrail association will be set : a reference to an array of objects of type Bio::MAGE::AuditAndSecurity::Audit
Return value: the current value of the auditTrail association : a reference to an array of objects of type Bio::MAGE::AuditAndSecurity::Audit
Side effects: none
Exceptions: will call croak()
if no input parameters are specified, or
if too many input parameters are specified , or if $array_ref is not a reference to an array class Bio::MAGE::AuditAndSecurity::Audit
instances
getAuditTrail()
Input parameters: none
Return value: the current value of the auditTrail association : a reference to an array of objects of type Bio::MAGE::AuditAndSecurity::Audit
Side effects: none
Exceptions: will call croak()
if any input parameters are specified
addAuditTrail(@vals)
Input parameters: the list of values @vals
to add to the auditTrail
association. NOTE: submitting a single value is permitted.
Return value: none
Side effects: none
Exceptions: will call croak()
if no input parameters are specified
, or if any of the objects in @vals is not an instance of class Bio::MAGE::AuditAndSecurity::Audit
descriptions
association:
Free hand text descriptions. Makes available the associations of Description to an instance of Describable.
setDescriptions($array_ref)
Input parameters: the value to which the descriptions association will be set : a reference to an array of objects of type Bio::MAGE::Description::Description
Return value: the current value of the descriptions association : a reference to an array of objects of type Bio::MAGE::Description::Description
Side effects: none
Exceptions: will call croak()
if no input parameters are specified, or
if too many input parameters are specified , or if $array_ref is not a reference to an array class Bio::MAGE::Description::Description
instances
getDescriptions()
Input parameters: none
Return value: the current value of the descriptions association : a reference to an array of objects of type Bio::MAGE::Description::Description
Side effects: none
Exceptions: will call croak()
if any input parameters are specified
addDescriptions(@vals)
Input parameters: the list of values @vals
to add to the descriptions
association. NOTE: submitting a single value is permitted.
Return value: none
Side effects: none
Exceptions: will call croak()
if no input parameters are specified
, or if any of the objects in @vals is not an instance of class Bio::MAGE::Description::Description
Associations Inherited from Bio::MAGE::Extendable
propertySets
association:
Allows specification of name/value pairs. Meant to primarily help in-house, pipeline processing of instances by providing a place for values that aren't part of the specification proper.
setPropertySets($array_ref)
Input parameters: the value to which the propertySets association will be set : a reference to an array of objects of type Bio::MAGE::NameValueType
Return value: the current value of the propertySets association : a reference to an array of objects of type Bio::MAGE::NameValueType
Side effects: none
Exceptions: will call croak()
if no input parameters are specified, or
if too many input parameters are specified , or if $array_ref is not a reference to an array class Bio::MAGE::NameValueType
instances
getPropertySets()
Input parameters: none
Return value: the current value of the propertySets association : a reference to an array of objects of type Bio::MAGE::NameValueType
Side effects: none
Exceptions: will call croak()
if any input parameters are specified
addPropertySets(@vals)
Input parameters: the list of values @vals
to add to the propertySets
association. NOTE: submitting a single value is permitted.
Return value: none
Side effects: none
Exceptions: will call croak()
if no input parameters are specified
, or if any of the objects in @vals is not an instance of class Bio::MAGE::NameValueType
Please send bug reports to mged-mage@lists.sf.net
Jason E. Stewart (www.openinformatics.com)
perl(1).