The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bio::Chado::Schema::Result::NaturalDiversity::NdExperiment

ACCESSORS

nd_experiment_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0
  sequence: 'nd_experiment_nd_experiment_id_seq'

nd_geolocation_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

type_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

RELATIONS

nd_geolocation

Type: belongs_to

Related object: Bio::Chado::Schema::Result::NaturalDiversity::NdGeolocation

type

Type: belongs_to

Related object: Bio::Chado::Schema::Result::Cv::Cvterm

nd_experiment_contacts

Type: has_many

Related object: Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentContact

nd_experiment_dbxrefs

Type: has_many

Related object: Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentDbxref

nd_experiment_genotypes

Type: has_many

Related object: Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentGenotype

nd_experiment_phenotypes

Type: has_many

Related object: Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentPhenotype

nd_experiment_projects

Type: has_many

Related object: Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentProject

nd_experimentprops

Type: has_many

Related object: Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentprop

nd_experiment_protocols

Type: has_many

Related object: Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentProtocol

nd_experiment_pubs

Type: has_many

Related object: Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentPub

nd_experiment_stocks

Type: has_many

Related object: Bio::Chado::Schema::Result::NaturalDiversity::NdExperimentStock

create_nd_experimentprops

  Usage: $set->create_nd_experimentprops({ baz => 2, foo => 'bar' });
  Desc : convenience method to create experiment properties using cvterms
          from the ontology with the given name
  Args : hashref of { propname => value, ...},
         options hashref as:
          {
            autocreate => 0,
               (optional) boolean, if passed, automatically create cv,
               cvterm, and dbxref rows if one cannot be found for the
               given experimentprop name.  Default false.

            cv_name => cv.name to use for the given experimentprops.
                       Defaults to 'nd_experiment_property',

            db_name => db.name to use for autocreated dbxrefs,
                       default 'null',

            dbxref_accession_prefix => optional, default
                                       'autocreated:',
            definitions => optional hashref of:
                { cvterm_name => definition,
                }
             to load into the cvterm table when autocreating cvterms

             rank => force numeric rank. Be careful not to pass ranks that already exist
                     for the property type. The function will die in such case.

             allow_duplicate_values => default false.
                If true, allow duplicate instances of the same experiment
                and types in the properties of the experiment.  Duplicate
                types will have different ranks.
          }
  Ret  : hashref of { propname => new experimentprop object }