compilePCAData | R Documentation |
Run PCA on a given matrix, expected to be variance stabilised (at least log-transformed)
compilePCAData(matrix, ntop = NULL)
matrix |
Simple matrix with genes by row and samples by column |
ntop |
Number of most variable genes to use |
a list with keys 'coords' and 'percentVar' providing PCA coordinates and fractional variance contributions, respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.