pca_biplot | R Documentation |
A scatter plot of the selected principal component scores overlaid with the corresponding principal component loadings.
pca_biplot(
components = c(1, 2),
points_to_label = "none",
factor_name,
scale_factor = 0.95,
style = "points",
label_features = FALSE,
...
)
components |
(numeric) The principal components used to generate the plot. The default is |
points_to_label |
(character) points_to_label. Allowed values are limited to the following:
The default is |
factor_name |
(character) The name of a sample-meta column to use. |
scale_factor |
(numeric) The scaling factor applied to the loadings. The default is |
style |
(character) Plot style. Allowed values are limited to the following:
The default is |
label_features |
(logical) Add feature labels. Allowed values are limited to the following:
The default is |
... |
Additional slots and values passed to |
A
pca_biplot
object. This object has no output
slots.
See chart_plot
in the struct
package to plot this chart object.
A pca_biplot
object inherits the following struct
classes:
[pca_biplot]
>> [chart]
>> [struct_class]
M = pca_biplot(
components = c(1, 2),
points_to_label = "none",
factor_name = "V1",
scale_factor = 0.95,
style = "points",
label_features = FALSE)
C = pca_biplot(factor_name='Species')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.