labkey.experiment.createRun {Rlabkey} | R Documentation |
Create an experiment run object
Description
Create an experiment run object.
Usage
labkey.experiment.createRun(config,
dataInputs = NULL, dataOutputs = NULL, dataRows = NULL,
materialInputs = NULL, materialOutputs = NULL)
Arguments
config |
a list of base experiment object properties |
dataInputs |
(optional) a list of experiment data objects to be used as data inputs to the run |
dataOutputs |
(optional) a list of experiment data objects to be used as data outputs to the run |
dataRows |
(optional) a data frame containing data rows to be uploaded to the assay backed run |
materialInputs |
(optional) a list of experiment material objects to be used as material inputs to the run |
materialOutputs |
(optional) a list of experiment material objects to be used as material outputs to the run |
Details
Create an experiment run object which can be used in the saveBatch function.
Value
Returns the object representation of the experiment run object.
Author(s)
Karl Lum
See Also
labkey.experiment.saveBatch
,
labkey.experiment.createData
,
labkey.experiment.createMaterial
Examples
## Not run:
library(Rlabkey)
## create a non-assay backed run with samples as material inputs and outputs
m1 <- labkey.experiment.createMaterial(
list(name = "87444063.2604.626"), sampleSetName = "Study Specimens")
m2 <- labkey.experiment.createMaterial(
list(name = "87444063.2604.625"), sampleSetName = "Study Specimens")
run <- labkey.experiment.createRun(
list(name="new run"), materialInputs = m1, materialOutputs = m2)
labkey.experiment.saveBatch(baseUrl="http://labkey/", folderPath="home",
protocolName=labkey.experiment.SAMPLE_DERIVATION_PROTOCOL, runList=run)
## End(Not run)
[Package Rlabkey version 3.2.3 Index]