Skip to content

preprocess of DLPFC dataset #6

@xiao-kong-long

Description

@xiao-kong-long

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions