powered by
A simple wrapper around rgl's pot3d function.
plot3D(x, dims = c(1, 2, 3), xlab = NULL, ylab = NULL, zlab = NULL, ...)
No return value, called for its side effects.
an rppca object
vector of length 3 - indices of the PCs to plot
(optional) x axis label
(optional) yaxis label
(optional) xz axis label
additional arguments passed to rgl::plot3d
Note, different to plot.rppca, which is relatively slow, plot3D does not down-sample the principal components and it ignores the ds slot of an rppca object if present.
plot.rppca
plot3D
ds
rppca
pc <- rppca(pedLInv) plot3D(pc) ped <- pedigree(sire=pedMeta$fid, dam=pedMeta$mid, label=pedMeta$id) pc2 <- rppca(ped) plot3D(pc2)
Run the code above in your browser using DataLab