kanaverse / kana

Single cell analysis in the browser
https://kanaverse.org/kana/
MIT License
142 stars 12 forks source link

Protect against missing feature names in explore mode. #250

Closed LTLA closed 1 year ago

LTLA commented 1 year ago

Closes #247. This is occasionally useful to ensure that the app does something sensible when feature information is missing for, e.g., alternative experiments that no one cares about.

Note that it doesn't solve the case of missing names in analysis mode, which is trickier as bakana handles the intersection of features (via scran.js's cbindWithNames).

I suspect that the more general solution is to just ignore all modalities without feature information in bakana's readers, as the lack of feature information will kill a few downstream steps. But this will do for now.