theislab / scib

Benchmarking analysis of data integration tools
MIT License
294 stars 63 forks source link

PCR with NaN values in obs #323

Closed Mari123i closed 1 year ago

Mari123i commented 2 years ago

Hello, I have the Problem that when running PCR on a covariate/obs that contains "nan", The PCR errors out. What Is the best way to deal with that?

mumichae commented 2 years ago

Try converting the obs column to string, so that NaNs are saved as 'nan' instead.