pca_check: PCA QC check

View source: R/runCheck.R

pca_checkR Documentation

PCA QC check

Description

check data quality by PCA plot

Usage

pca_check(
  data,
  group,
  dir = ".",
  prefix = "1-run_check",
  palette = RColorBrewer::brewer.pal(3, "Set2")[1:2]
)

Arguments

data

a cpm data frame of rows in genes and columns in samples

group

a list ordered by samples in data

dir

a directory to store results

prefix

a prefix of file names in this step

palette

a color palette for plots

Value

a figure of PCA

Examples

pca_check(data, group)

xiayh17/RNAseqStat2 documentation built on May 27, 2023, 12:13 p.m.