Harmony has a n_components parameter, which, according to the docstring:
:param pc_components: Minimum number of principal components to use. Specify `None` to use pre-computed components
That value is used for utils.run_pca, but it's not passed over to scanpy's neighboor computation, see
|
sc.pp.neighbors(temp, n_pcs=0, n_neighbors=n_neighbors) |
So I wonder what the significance of that parameter actually is?
Also, I find the default value of 1000 a bit high, as scanpy's default here is much smaller, 50 I believe
Harmony has a
n_componentsparameter, which, according to the docstring::param pc_components: Minimum number of principal components to use. Specify `None` to use pre-computed componentsThat value is used for
utils.run_pca, but it's not passed over to scanpy's neighboor computation, seeHarmony/src/harmony/core.py
Line 67 in eca0771
So I wonder what the significance of that parameter actually is?
Also, I find the default value of
1000a bit high, as scanpy's default here is much smaller,50I believe