Description Usage Arguments Value Examples
This function allows you to tag Labstep entities. If the tag exists already it will attach it to the entity, if not a new tag will be created.
1 |
user |
A labstep user object. Must contain an 'api_key' field. Returned from 'login' command |
entity |
The Labstep entity to tag. Can be a Resource, Experiment or Protocol. |
name |
The name of the tag to attach. |
Returns the tagged entity.
1 2 3 4 | user <- login("demo@labstep.com","demopassword")
experiments <- getExperiments(user,count=1)
experiment = experiments[[1]]
experiment = tag(user,experiment,'My New Tag')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.