View source: R/labkey.experiment.R
labkey.experiment.lineage | R Documentation |
Get lineage parent/child relationships and information for exp objects by LSID(s)
labkey.experiment.lineage(baseUrl=NULL, folderPath,
lsids, options = NULL)
baseUrl |
A string specifying the |
folderPath |
A string specifying the |
lsids |
One or more LSID seed values for the experiment objects to retrieve lineage information for. |
options |
(optional) A list containing optional parameters specific to the lineage action. |
This function retrieves lineage parent/child relationships and information for experiment objects by LSID(s).
Optional parameters (passed via options) include:
parents (boolean)
: include parent objects in the lineage
children (boolean)
: include child objects in the lineage
depth (integer)
: the depth of the lineage to retrieve
expType (string)
: the type of experiment objects to retrieve lineage for
cpasType (string)
: the type of CPAS object to retrieve lineage for
runProtocolLsid (string)
: the LSID of the run protocol to retrieve lineage for
includeProperties (boolean)
: include properties in the lineage response
includeInputsAndOutputs (boolean)
: include inputs and outputs in the lineage response
includeRunSteps (boolean)
: include run steps in the lineage response
Returns a lineage response object based on the LSID seed values provided. The response object contains:
seeds
: the LSID of the object(s) requested
nodes
: an object with LSID keys for each lineage node and values containing the lineage information
Cory Nathe
## Not run:
library(Rlabkey)
labkey.experiment.lineage(
baseUrl="http://labkey/",
folderPath = "/home/OriginalFolder",
lsids=c("urn:lsid:labkey.com:Sample.519.Blood:23", "urn:lsid:labkey.com:Sample.519.Blood:12"),
options=list(
parents=TRUE,
children=TRUE,
depth=10,
expType="Material",
includeProperties=TRUE,
includeInputsAndOutputs=FALSE,
includeRunSteps=FALSE
)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.