BiomedicalMachineLearning / stLearn

A novel machine learning pipeline to analyse spatial transcriptomics data
Other
176 stars 23 forks source link

ValueError in step 2 of CCI analysis #264

Closed Rachel-qianqian closed 3 months ago

Rachel-qianqian commented 7 months ago

Dear developers:

As I ran code as follow, and added the path to"path_to_stlearn/tutorials/label_transfer_bc.csv" as you described in issue #142. image)

Then, I got the error as follow. image

Hope you can tell me how to deal with it.

Sincerely! :)

duypham2108 commented 7 months ago

Can you add this line after the first line?

spot_mixtures = spot_mixtures.loc[data.obs_names]
Rachel-qianqian commented 7 months ago

Many thanks for your replying. I added this line as follow: image

and it returned image image

The data is derived from V1_Breast_Cancer_Block_A_Section_1 (2020-06-23). Did i do someting wrong? I will really appreciate it.