Saves Runs.
Saves experiment runs.
labkey.experiment.saveRuns(baseUrl=NULL, folderPath, protocolName, runList)
baseUrl |
(optional) a string specifying the |
folderPath |
a string specifying the |
protocolName |
a string specifying the protocol name of the protocol to use |
runList |
a list of experiment run objects |
Saves experiment runs. Runs 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.
Refer to the labkey.experiment.createData, labkey.experiment.createMaterial, and labkey.experiment.createRun helper functions to assemble the data structure that saveRuns expects.
Returns the object representation of the experiment run.
Ankur Juneja
library(Rlabkey) ## example with materialInputs and materialOutputs 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.saveRuns(baseUrl="http://labkey/", folderPath="home", protocolName=labkey.experiment.SAMPLE_DERIVATION_PROTOCOL, runList=run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.