DESeq_PCA: DESeq_PCA

View source: R/DESeq-PCA.R

DESeq_PCAR Documentation

DESeq_PCA

Description

This function would plot PCA based on DESeqDataSet object and save as pdf and png format

Usage

DESeq_PCA(
  dds,
  group_name = "condition",
  label = FALSE,
  output_dir = ".",
  filename = NULL
)

Arguments

dds

a matrix with row name

group_name

the number of colData to split case and control group

label

A logical value to plot label of sample

output_dir

the path of output

filename

NULL or a character, the filename of output. When value is NULL, the figures are not saved.

Examples

## Not run: 
input = createCountPhe()
dds = DEseqObj(input[[1]],input[[2]],ref_level="untreated")
DESeqObjPCA(dds)

## End(Not run)

Feng-Zhang/RNAseqFlow documentation built on Sept. 10, 2022, 7:13 a.m.