aifimmunology / MOCHA

R package for single-cell Open Chromatin Identification & Downstream Analysis
https://aifimmunology.github.io/MOCHA/
GNU General Public License v3.0
2 stars 0 forks source link

Why do we check for outDir here? #134

Closed imran-aifi closed 4 months ago

imran-aifi commented 1 year ago

https://github.com/aifimmunology/MOCHA/blob/cf5a72b449347ad8c10faa68a0be90a9ff45fb48/R/addAccessibilityShift.R#L38

markphillippebworth commented 4 months ago

We check for it, because some users have set outDir to NULL. In this case, the error will be rather uninformative - this way, we return an actually useful error.