DongqingSun96 / STRIDE

STRIDE (Spatial TRanscRIptomics DEconvolution by topic modelling) is a cell-type deconvolution tool for spatial transcriptomics by using single-cell transcriptomics data.
GNU General Public License v3.0
17 stars 9 forks source link

raise KeyError(key) from err KeyError: 'P0_v1_1123_13550_22950' #9

Open QianChwnLyn opened 1 year ago

QianChwnLyn commented 1 year ago

hello, when I run "STRIDE plot" function, I met this error. _KeyError: 'P0_v1_1123_1355022950'

This is my shell command.

image

Celltype frac document and cell location document are matched. This is a part of celltype frac document.

image

This is a part of cell location document.

image

So could you please help me to solve this problem? Thanks.

DongqingSun96 commented 1 year ago

Hi, could you please provide the two files for debugging? By the way, it seems a little weird because all spots show the same cell-type proportions.

QianChwnLyn commented 1 year ago

thank you for your reply! I just found out after your reminder that all spots show the same cell-type proportions. When I run deconvolve function firstly, I got an empty table. So this is the second result. Do you need the source count matrix?

QianChwnLyn commented 1 year ago

I also found that the result is different every time I run it, and this time it is also an empty table.

image image
DongqingSun96 commented 1 year ago

Could you provide the version of STRIDE you are using?

QianChwnLyn commented 1 year ago

The version is 0.0.2a. STRIDE -v 0.0.2a