Description Usage Arguments Value Examples
Delete an attribute which has been add by the user.
1 2 3 4 5 6 7 | deleteAttribute(object, name)
## S4 method for signature 'Experiment'
deleteAttribute(object, name)
## S4 method for signature 'Gene'
deleteAttribute(object, name)
|
object |
The object for which we want modification. |
name |
The name of the attribute we want to delete. |
The object without the attribute you want to delete.
1 2 3 4 5 6 7 8 9 10 | exp <- new(Class="Experiment",
name="test",
date=Sys.Date(),
databases=list(1),
others=list())
exp <- addAttribute(exp, "test", "value")
exp <- deleteAttribute(exp, "test")
gene <- new("RAPDB")
gene <- addAttribute(gene, "test", "value")
gene <- deleteAttribute(gene, "test")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.