Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preprocess of DLPFC dataset #6

Open
xiao-kong-long opened this issue Oct 10, 2022 · 0 comments
Open

preprocess of DLPFC dataset #6

xiao-kong-long opened this issue Oct 10, 2022 · 0 comments

Comments

@xiao-kong-long
Copy link

when runing the preprossing procedure 'data_generation_ST.py' on DLPFC 151507, an error accurs.
The reason is that the coordinates from 'filtered_bc_matrix.h5' have 4226 spots, and cell_types from 'metadata.csv' have 4226 spots, too. However, cell_types have 5 non-type items of 'cluster_guess'. If filtering it as the code, it will only contains 4221 items, which cause inconsistent problem between x,y, and c in the code sc_cluster = plt.scatter(x=coordinates[:,0], y=-coordinates[:,1], s=5, c=cell_types, cmap='rainbow')
Whether there is any solution of that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant