plot3DWithProj {randPedPCA} | R Documentation |
3D plot of PC scores with projections on coordinate planes
Description
3D plot of PC scores with projections on coordinate planes
Usage
plot3DWithProj(
pc,
dims = c(1, 2, 3),
plotProj = TRUE,
grid = TRUE,
col = 1,
ff = 0.5,
theta = -45,
phi = 25
)
Arguments
pc |
An |
dims |
|
plotProj |
|
grid |
|
col |
the dot colours, integer or string, scalar or vector |
ff |
|
theta , phi |
polar coordinates in degrees. |
Value
nothing
Examples
ped <- pedigree(pedMeta$fid,
pedMeta$mid,
pedMeta$id
)
pc <- rppca(ped)
plot3DWithProj(pc, col=as.numeric(factor(pedMeta$population)))
[Package randPedPCA version 1.1.3 Index]