Thank you so much for the amazing tool. :) It has been excellent at clustering our cells. I am clustering 253 signatures using SAM with the below parameters.
In a previous discussion post, you mentioned that the KNN information could be retrieved by running sc.pp.neighbors() since it relies on SAM's X_PCA and auxiliary metadata on the KNN method used. However, when looking into the metadata, I noticed it doesn't match the parameters I used, as shown below.
I compared the distances from sc.pp.neighbors(adata) and sc.pp.neighbors(adata, n_pcs = 10, n_neighbors = 8, metric = "correlation", use_rep = 'X_pca'), and I noticed the resulting distance metrics are pretty different. Is there a better approach you recommend I use to retrieve the KNN matrix since I would like to use it for some downstream analysis, specifically to generate a similarity matrix for Cytoscape?
Hello @atarashansky,
Thank you so much for the amazing tool. :) It has been excellent at clustering our cells. I am clustering 253 signatures using SAM with the below parameters.
In a previous discussion post, you mentioned that the KNN information could be retrieved by running sc.pp.neighbors() since it relies on SAM's X_PCA and auxiliary metadata on the KNN method used. However, when looking into the metadata, I noticed it doesn't match the parameters I used, as shown below.
I compared the distances from sc.pp.neighbors(adata) and sc.pp.neighbors(adata, n_pcs = 10, n_neighbors = 8, metric = "correlation", use_rep = 'X_pca'), and I noticed the resulting distance metrics are pretty different. Is there a better approach you recommend I use to retrieve the KNN matrix since I would like to use it for some downstream analysis, specifically to generate a similarity matrix for Cytoscape?
Thank you :), Sayyam