pycisTopic icon indicating copy to clipboard operation
pycisTopic copied to clipboard

run_umap error

Open strawberry098 opened this issue 1 year ago • 3 comments

I'm getting the following error for run_umap

image

where Cell is the column name containing cell ID values.

How can I resolve this?

strawberry098 avatar Aug 29 '24 18:08 strawberry098

Hi @strawberry098

Can you show the output of


print(cistopic_obj1_models)

print(cistopic_obj.selected_model)

All the best,

Seppe

SeppeDeWinter avatar Aug 30 '24 11:08 SeppeDeWinter

Hi @SeppeDeWinter

print(cistopic_obj1_models) CistopicObject from project cisTopic with n_cells × n_regions = 92054 × 201656

print(cistopic_obj1_models.selected_model) CistopicLDAModel with 40 topics and n_cells × n_regions = 92054 × 201656

Thank you

strawberry098 avatar Sep 08 '24 21:09 strawberry098

Hi @strawberry098

I see with the issue is now, you spelled "Cell" with a capital "C", it should be "cell". Now the function should raise an error when this occurs: https://github.com/aertslab/pycisTopic/commit/787ce422a37f5975b0ebb9e7b19eeaed44847501.

All the best,

Seppe

SeppeDeWinter avatar Sep 10 '24 15:09 SeppeDeWinter