Description Usage Arguments Value Examples
Plots the results of PCA on a 3-dimensional space, interactively
1 2 3 4 5 6 7 8 9 10 11 12 |
x |
A |
intgroup |
Interesting groups: a character vector of
names in |
ntop |
Number of top genes to use for principal components, selected by highest row variance |
returnData |
logical, if TRUE returns a data.frame for further use, containing the selected principal components and intgroup covariates for custom plotting |
title |
The plot title |
pcX |
The principal component to display on the x axis |
pcY |
The principal component to display on the y axis |
pcZ |
The principal component to display on the z axis |
text_labels |
Logical, whether to display the labels with the sample identifiers |
point_size |
Integer, the size of the points for the samples |
A html-based visualization of the 3d PCA plot
1 2 3 | dds <- makeExampleDESeqDataSet_multifac(betaSD_condition = 3, betaSD_tissue = 1)
rlt <- DESeq2::rlogTransformation(dds)
pcaplot3d(rlt, ntop = 200)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.