Closed Marius1311 closed 4 years ago
The scanpy implementation computes the augmented affinity matrix via
# compute the augmented and non-augmented affinity matrices aug_aff, aff = harmony.core.augmented_affinity_matrix( adata.to_df(), adata.obs[tp], timepoint_connections, pc_components=n_components, )
Unfortunately, it does not expose the n_neighbors parameter, which would be quite important to be able to choose.
n_neighbors
Hey @Marius1311 Thank for pointing this out, we will update the implementation and have all parameters for the function exposed.
Thanks @awnimo !
Fixed in 6e34c6aa64753226656d90b663be362a08467f6a
The scanpy implementation computes the augmented affinity matrix via
Unfortunately, it does not expose the
n_neighbors
parameter, which would be quite important to be able to choose.