PCA_plot_3d | R Documentation |
Draw a 3D PCA plot with designated PCA components on axis
PCA_plot_3d(
data,
sample_info,
PCAx = 1,
PCAy = 2,
PCAz = 3,
selected_color = "Names",
selected_shape = "Names",
plots_color_select
)
data |
Matrix of gene data that has been through
|
sample_info |
Matrix of sample information from experiment design file |
PCAx |
Integer designating the PC to be plotted on the x axis |
PCAy |
Integer designating the PC to be plotted on the y axis |
PCAz |
Integer designating the PC to be plotted on the z axis |
selected_color |
String designating factor to color points by. Should be one of the design factors from the design file or "Names" as default which automatically detects groups from gene data file |
selected_shape |
String designating factor to shape points by. Should be one of the design factors from the design file or "Names" as default which automatically detects groups from gene data file |
plots_color_select |
Vector of colors for plots |
Formatted PCA plot
PCA_plot()
Other PCA functions:
MDS_plot()
,
PCA_Scree()
,
PCA_biplot()
,
PCA_plot()
,
PCAtools_eigencorplot()
,
pc_factor_correlation()
,
t_SNE_plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.