simba.pp.select_pcs_features
- simba.pp.select_pcs_features(adata, S=1, curve='convex', direction='decreasing', online=False, min_elbow=None, **kwargs)[source]
select features that contribute to the top PCs
- Parameters:
S (float, optional (default: 10)) – Sensitivity
min_elbow (int, optional (default: None)) – The minimum elbow location. By default, it is #features/6
curve (str, optional (default: ‘convex’)) – Choose from {‘convex’,’concave’} If ‘concave’, algorithm will detect knees, If ‘convex’, algorithm will detect elbows.
direction (str, optional (default: ‘decreasing’)) – Choose from {‘decreasing’,’increasing’}
online (bool, optional (default: False)) – kneed will correct old knee points if True, kneed will return first knee if False.
**kwargs (dict, optional) – Extra arguments to KneeLocator.