powered by
Return a list of features with the strongest contribution to a set of components
TopFeatures( object, dim = 1, nfeatures = 20, projected = FALSE, balanced = FALSE, ... )
Returns a vector of features
DimReduc object
Dimension to use
Number of features to return
Use the projected feature loadings
Return an equal number of features with both + and - scores.
Extra parameters passed to Loadings
Loadings
data("pbmc_small") pbmc_small TopFeatures(object = pbmc_small[["pca"]], dim = 1) # After projection: TopFeatures(object = pbmc_small[["pca"]], dim = 1, projected = TRUE)
Run the code above in your browser using DataLab