Description Usage Arguments Value Note See Also Examples
PCA plot in 3D
1 2 |
obj |
a |
subset |
"miRNA" or "mRNA" |
col.color |
number or name of the column in the pheno slot that will be used to color the samples |
angle |
angle orientation |
colors |
character vector with the colors that will be used for each group in col.color. |
lty |
lty of lines that are plotted parallel to the z-axis for each sample. 0 means no line. |
cex.points |
cex scaling of the dots. |
... |
further arguments to be passed |
A 3d pca plot.
This error:
Error in factor(as.numeric(as.factor(obj@pheno.miRNA[, col.color])) + : invalid 'labels'; length 2 should be 1 or 12
Is due to invalid length of colors option. Use character vectors with the same length of the number of groups in col.color.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.