PCAplot3d {MAIT}R Documentation

3D PCA scoreplots

Description

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

Usage


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


[Package MAIT version 1.24.0 Index]