Description Usage Arguments Examples
Run PCA on a hyperspec object
1 |
hs.x |
hyperSpec object |
... |
Parameters to pass on to prcomp(). |
1 2 3 4 5 6 7 8 9 | ## Short example
# Load hyperSpec object
data("hs_example")
# Convert to MassSpectrum object
hs.x.proc <- hs_preprocess(hs_example)
df.PCA <- hs_PCA(hs.x.proc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.