Description Usage Arguments Value Examples
Return a list of features with the strongest contribution to a set of components
1 2 | TopFeatures(object, dim = 1, nfeatures = 20, projected = FALSE,
balanced = FALSE, ...)
|
object |
DimReduc object |
dim |
Dimension to use |
nfeatures |
Number of features to return |
projected |
Use the projected feature loadings |
balanced |
Return an equal number of features with both + and - scores. |
... |
Extra parameters passed to |
Returns a vector of features
1 2 3 4 | pbmc_small
TopFeatures(object = pbmc_small[["pca"]], dim = 1)
# After projection:
TopFeatures(object = pbmc_small[["pca"]], dim = 1, projected = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.