dlist.pca: Perform PCA and custom plot

Description Usage Arguments Value Examples

Description

Perform a PCA analysis on a 3 levels list and create custom plot.

Usage

1
2
3
dlist.pca(dlist, group.spl = NULL, group.var = NULL, legendL = F,
  labels = c("scores", "loadings", "both"), pathL = F, ellipseL = F,
  outliersL = F, ShowPlot = T)

Arguments

dlist

list of three dataframes : [[1]] Datamatrix, [[2]] SamplesMetadata [[3]] VariableMetadata.

group.spl

Factor name used for grouping samples (affect plot only)

group.var

Factor name used for grouping variables (affect plot only)

legendL

Logical for drawing legends

labels

String to show labels on scores, loadings or both plots

pathL

Loadings points size

ellipseL

Logical to show ellipse (0.95 type t which assumes a multivariate t-distribution)

outliersL

Logical to show outliers (below 1 percentile or above 99 percentile)

ShowPlot

Logical to draw plot or not

Value

A list with [1] pca results, [2] plot as grobs.

Examples

1

Mystilivia/SDjoygret documentation built on May 7, 2019, 5:17 p.m.