3D plot for b_res

b_res_3d(b_res, Group, metadata = NULL, ...)

Arguments

b_res

a b_res object

Group

group vector for color

metadata

metadata contain Group

...

add

Value

plotly list

Examples

if (requireNamespace("plotly")) {
  data(otutab, package = "pcutils")
  b_analyse(otutab, method = "pca", ndim = 3) -> b_res
  b_res_3d(b_res, "Group", metadata)
}
#> Loading required namespace: plotly