Retrieve or set the extradata of a colorSpec object.
1 2 3 4 5
a colorSpec object with M spectra
x is not
extradata cannot be stored in
x and the assignment is ignored, with a warning.
First change the
and then assign the
value does not have
the right number of rows, the assignment is ignored, with a warning.
extradata(x) returns a
data.frame with M rows,
where M is the number of spectra in
rownames are set to the
If there is no extra data then the number of columns in this
data.frame is 0.
Do not confuse
metadata is unstructured data that is attached to the entire colorSpec object.
extradata is structured data, with a row of data for each spectrum in the object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.