Plot 2D or 3D PCA for counts dataframe
Arguments
- moo_counts
counts dataframe
- sample_metadata
Required if
moo_counts
is adata.frame
: sample metadata as a data frame or tibble.- principal_components
vector with numbered principal components to plot. Use 2 for a 2D pca with ggplot, or 3 for a 3D pca with plotly. (Default:
c(1,2)
)- ...
additional arguments forwarded to
plot_pca_2d()
(if 2 PCs) orplot_pca_3d()
(if 3 PCs).
See also
plot_pca generic
Other plotters for counts dataframes:
plot_corr_heatmap_dat
,
plot_expr_heatmap_dat
,
plot_histogram_dat
,
plot_read_depth_dat