get_main_pca_plot | R Documentation |
Main PCA plot
get_main_pca_plot(
data,
pal,
batch_label = "Batch",
classification_label = "Classification",
x_label = "PC1",
y_label = "PC2",
legend_cex = 0.5
)
data |
A |
pal |
point color palette. |
batch_label |
a character describe the ggplot2 label for batch. Default to "Batch". |
classification_label |
a character describe the ggplot2 label for classification. Default to "Classification". |
x_label |
a character of X axis label. Default to "PC1". |
y_label |
a character of Y axis label. Default to "PC2". |
legend_cex |
a float for legend text size. Default to 0.5. |
A \line[ggplot2]{ggplot}
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.