plot3DWithProj | R Documentation |
3D plot of PC scores with projections on coordinate planes
plot3DWithProj(
pc,
dims = c(1, 2, 3),
plotProj = TRUE,
grid = TRUE,
col = 1,
ff = 0.5,
theta = -45,
phi = 25
)
pc |
An |
dims |
|
plotProj |
|
grid |
|
col |
the dot colours, integer or string, scalar or vector |
ff |
|
theta , phi |
polar coordinates in degrees. |
nothing
ped <- pedigree(pedMeta$fid,
pedMeta$mid,
pedMeta$id
)
pc <- rppca(ped)
plot3DWithProj(pc, col=as.numeric(factor(pedMeta$population)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.