
Extract top-contributing features from NMF latent factors
extract_contributing_features.RdFor each NMF factor (column of the W basis matrix), selects the top_n cell groups with the highest weight
(cell groups with zero weight are never selected).
Arguments
- latent_factors
A list returned by
compute.latent_factors(), containing at minimum a matrixW(features x factors) of NMF basis weights.- top_n
Integer. Number of cell groups selected per factor. Default 5.