Description Usage Arguments Examples
Number of clusters is optimized based on Silhouette index.
1 |
hs.x |
hyperSpec object |
PCA.var |
Variance threshold for PCA preprocessing prior to clustering. Defaults to NULL which means that no PCA will be performed. |
... |
Parameters to pass on to pam(). |
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)
hclust_obj <- hs_type(hs.x.proc, PCA.var = 0.8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.