You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: