Feature selection#
Morphological profile features often exhibit strong correlation structures. To
remove redundant features, scmorph integrates methods that detect correlated
features and removes them.
import scmorph as sm
adata = sm.datasets.rohban2017_minimal()
sm.pp.select_features(adata, method="pearson")
adata.var["qc_pass_var"].value_counts()
True 1404
False 51
Name: qc_pass_var, dtype: int64