duct317 / scDHA

A tool for single-cell data analysis.
37 stars 4 forks source link

Encountering error "Error in { : task 1 failed - "task 1 failed - "subscript out of bounds""" #13

Closed zyzisastudyreallyhardguy closed 1 year ago

zyzisastudyreallyhardguy commented 1 year ago

Dear scDHA authors,

Thank you for your great work! I want to use my own data to run scDHA, but encounter the following error. I have made sure the rows are cells and the columns are genes. Could you please help me with this issue?

image

.

Thank you very much!

Best Regards,

duct317 commented 1 year ago

Hi,

Thank you for your interest in scDHA and sorry for the late reply.

It's pretty hard to comment on what exactly is the problem without looking at the data. But I think you can try to scale your data using z-score or log transformation. Let me know if that would solve your problem.

Thank you.

zyzisastudyreallyhardguy commented 1 year ago

Thank you for your reply! I use a cell gene matrix with 1400+ cells and 20000+ genes. When I reduce the number of cells to 200, the error disappeared.

I have applied the log transformation as you suggested. The algorithm still encounters errors when the number of cells is larger than 200.

Could you please help me with this issue?

Warmest Regards