PCAplot3d: 3D PCA scoreplots

Description Usage Arguments Value Author(s) See Also

View source: R/plotPCA.R

Description

This function takes three sets of coordinates and builds a 3D scoreplot using the package rgl

Usage

1
2
3
4
5
6
PCAplot3d (z,
           x,
           y,
           cols,
           axes=TRUE,
           new=TRUE)

Arguments

z

A numerical vector containing the values for the z-axis.

y

A numerical vector containing the values for the y-axis.

x

A numerical vector containing the values for the x-axis.

axes

Boolean parameter. Set to TRUE if axes should be plotted.

new

Boolean parameter. Set to TRUE if a new rgl plot should be created.

cols

Character vector containing the colors for each sample.

Value

A 3D interactive plot is created using the package rgl

Author(s)

Francesc Fernandez, francesc.fernandez.albert@upc.edu

See Also

plotPCA


MAIT documentation built on Nov. 8, 2020, 5:43 p.m.