meta | R Documentation |
Rule metadata are key-value pairs where the value is a simple (atomic) string or number.
meta(x, ...)
meta(x, name) <- value
## S4 method for signature 'rule'
meta(x, ...)
## S4 replacement method for signature 'rule,character'
meta(x, name) <- value
## S4 method for signature 'expressionset'
meta(x, simplify = TRUE, ...)
## S4 replacement method for signature 'expressionset,character'
meta(x, name) <- value
x |
an R object |
... |
Arguments to be passed to other methods |
name |
|
value |
Value to set |
simplify |
Gather all metadata into a dataframe? |
Other expressionset-methods:
as.data.frame()
,
as.data.frame,expressionset-method
,
created()
,
description()
,
label()
,
names<-,rule,character-method
,
origin()
,
plot,validator-method
,
summary()
,
variables()
,
voptions()
v <- validator(x > 0, y > 0)
# metadata is recycled over rules
meta(v,"foo") <- "bar"
# assign metadata to a selection of rules
meta(v[1],"fu") <- 2
# retrieve metadata as data.frame
meta(v)
# retrieve metadata as list
meta(v,simplify=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.