mm_VizShapespace | R Documentation |
Plot a scatterplot and vizualize shape change across the X axis.
mm_VizShapespace(
mmPCA,
xPC = 1,
yPC = 2,
yr = c(0, 1.1),
cols = NULL,
title = "",
png_dir = NULL
)
mmPCA |
Output of |
xPC |
The PC to be plotted on the x axis. If yPC is left null, a univariate density distribution will be plotted with min/max shapes. |
yPC |
The PC to be plotted on the y axis. |
yr |
The y-xis range, in the format c(0,1) |
cols |
A vector of colors of length n, for use in scatterplot. |
title |
To be used for the plot |
png_dir |
A file path to a directory in which to save out PNG figures. Names will be automatically assigned based on input PC(s). |
Meant to be a quick diagnostic plot with minimal customization.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.