plot_pca: Plot PCA

Description Usage Arguments

View source: R/plot_pca.R

Description

Plots PCA from scores file (output of PCA_from_file)

Usage

1
2
3
plot_pca(file, info.name, info.type, title = "", labels = TRUE,
  PCx = "PC1", PCy = "PC2", ellipse = F, conf = 0.95,
  density = F, fliph = F, flipv = F)

Arguments

file

File containing scores matrix

info.name

Vector of sample names

info.type

Vector of sample types in the same order

title

Title of the plot

labels

default=T

PCx, PCy

PCs to display

ellipse

Construct confidence region based on groups in info.type, default = T

conf

default = 0.95

density

plot x-y density plots

fliph, flipv

flip plot hoirzontally or vertically


KSheu/ksheu.lib documentation built on Oct. 14, 2020, 11:55 p.m.