b_res_3d | R Documentation |
3D plot for b_res
b_res_3d(b_res, Group, metadata = NULL, ...)
b_res |
a b_res object |
Group |
group vector for color |
metadata |
metadata contain Group |
... |
add |
plotly list
if (requireNamespace("plotly")) {
data(otutab, package = "pcutils")
b_analyse(otutab, method = "pca", ndim = 3) -> b_res
b_res_3d(b_res, "Group", metadata)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.