Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Experiment

Index

Type Aliases

Variables

SAMPLE_ALIQUOT_PROTOCOL: "Sample Aliquot Protocol" = 'Sample Aliquot Protocol'
SAMPLE_DERIVATION_PROTOCOL: "Sample Derivation Protocol" = 'Sample Derivation Protocol'

The name of the protocol used by Experiment. This can be used for "protocolName".

Functions

  • Saves a modified batch. Runs within the batch may refer to existing data and material objects, either inputs or outputs, by ID or LSID. Runs may also define new data and materials objects by not specifying an ID or LSID in their properties. See the Module Assay documentation for more information.

    Parameters

    • options: SaveBatchOptions

      Examples

      LABKEY.Experiment.saveBatch({
      protocolName: LABKEY.Experiment.SAMPLE_DERIVATION_PROTOCOL,
      batch: {
      properties: {
      // property URI from a Vocabulary
      'urn:lsid:labkey.com:Vocabulary.Folder-114:MyVocab#field1': '123'
      },
      runs: [{
      name: 'two',
      properties: {
      // property URI from a Vocabulary
      'urn:lsid:labkey.com:Vocabulary.Folder-114:MyVocab#field1': '123'
      }
      }]
      }
      });

    Returns XMLHttpRequest

  • Saves an array of modified batches. Runs within the batches may refer to existing data and material objects, either inputs or outputs, by ID or LSID. Runs may also define new data and materials objects by not specifying an ID or LSID in their properties. See the Module Assay documentation for more information.

    Parameters

    Returns XMLHttpRequest

Generated using TypeDoc