Skip to contents

PCA plot for QC

Usage

plot_pca_qc(
  data,
  variable,
  dim_x,
  dim_y,
  log_transform,
  point_size = 2,
  fill_alpha = 0.1
)

Arguments

data

MidarExperiment object

variable

which variable to use for plot

dim_x

PCA dimension on x axis

dim_y

PCA dimension on y axis

log_transform

log transform data for plot

point_size

size of points

fill_alpha

transparency of points

Value

ggplot2 object