distPCA: PCA Plot

Description Usage Arguments

View source: R/distPCA.R

Description

Plots a principal components analysis you've already performed on your data.

Usage

1
distPCA(cds.pca, condition, colorCondName, PC_A, PC_B, title)

Arguments

cds.pca

x field of cds.pca, output of prcomp() function

condition

column of sampleTable data frame (required for DESeq import) with the factor you want to use to color points

colorCondName

Character string - what do you want the point-coloring factor to be called?

PC_A

Character string - which PC to be plotted on X axis, e.g. 'PC1'

PC_B

Character string - which PC to be plotted on Y axis, e.g. 'PC2'

title

Character string - title of plot


kmuench/DESeqAid documentation built on Oct. 14, 2020, 4:45 a.m.