Description Usage Arguments Value
This allows storing "views" which contain the information about which dimensionality reduction, dimensions, weights, and 3D orientation to use to make plots. This is useful for generating figures with many similar panels.
1 2 3 4 5 6 7 8 9 10 11 | plotDim3DStoreView(
object,
view.name,
reduction.use = c("dm", "pca"),
dim.1 = 1,
dim.2 = 2,
dim.3 = 3,
w.1 = NULL,
w.2 = NULL,
w.3 = NULL
)
|
object |
An URD object |
view.name |
(Character) What the name of the view should be. |
reduction.use |
(Character) Dimensionality reduction to use (Diffusion Map ("dm") or PCA ("pca")) |
dim.1 |
(Numeric vector) Component(s) to use on x-axis. If > 1, they will be interpolated according to weights in |
dim.2 |
(Numeric vector) Component(s) to use on y-axis. If > 1, they will be interpolated according to weights in |
dim.3 |
(Numeric vector) Component(s) to use on z-axis. If > 1, they will be interpolated according to weights in |
w.1 |
(Numeric vector) Weight to use for the members of |
w.2 |
(Numeric vector) Weight to use for the members of |
w.3 |
(Numeric vector) Weight to use for the members of |
An URD object with a new 3D view stored in @plot.3d
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.