Description Usage Arguments Value
Get principal component information to a tibble using PCA
1 2 3 4 5 6 7 8 9 10 11 12 |
.data |
A tibble |
.element |
A column symbol. The column that is used to calculate distance (i.e., normally elements) |
.feature |
A column symbol. The column that is represents entities to cluster (i.e., normally genes) |
.value |
A column symbol with the value the clustering is based on (e.g., 'count') |
.dims |
A integer vector corresponding to principal components of interest (e.g., 1:6) |
top |
An integer. How many top genes to select |
of_elements |
A boolean |
transform |
A function to use to tranforma the data internalli (e.g., log1p) |
scale |
A boolean |
... |
Further parameters passed to the function prcomp |
A tibble with additional columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.