epigen / unsupervised_analysis

A general purpose Snakemake workflow and MrBiomics module to perform unsupervised analyses (dimensionality reduction & cluster analysis) and visualizations of high-dimensional data.
https://epigen.github.io/unsupervised_analysis/
MIT License
25 stars 3 forks source link

validation_external.py: Index mismatch between clustering results and metadata introduces NaNs #61

Open bednarsky opened 3 hours ago

bednarsky commented 3 hours ago
sreichl commented 3 hours ago

ah yes that's an R issue that is not changeable. We can not manage this exception effectively, because even if you fix it in one script you have to take the "fix" along to other scripts, which introduces a dependency hell to maintain. Only solution I can think of: Do not use special characters (here, and in general).

bednarsky commented 1 hour ago
sreichl commented 59 minutes ago

For future reference, I would strongly recommend never using +/- nomenclature instead use e.g., pos/neg.

bednarsky commented 40 minutes ago

Great, will do a PR for (1) (and see if I don't find a one-liner somewhere that asserts (2))