get_main_pca_plot: Main PCA plot

View source: R/pca-plot.R

get_main_pca_plotR Documentation

Main PCA plot

Description

Main PCA plot

Usage

get_main_pca_plot(
  data,
  pal,
  batch_label = "Batch",
  classification_label = "Classification",
  x_label = "PC1",
  y_label = "PC2",
  legend_cex = 0.5
)

Arguments

data

A data.frame for PCA plot. It can be created

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.

Value

A \line[ggplot2]{ggplot} object.


markgene/yamatClassifier documentation built on Oct. 14, 2024, 2:36 a.m.