ncborcherding / escape

Easy single cell analysis platform for enrichment
https://www.borch.dev/uploads/screpertoire/articles/running_escape
MIT License
143 stars 20 forks source link

minor changes to getGeneSet #98

Closed neanderthalensis closed 4 months ago

neanderthalensis commented 4 months ago

Slightly simplified the check for species, not sure if error handling is necessary there as msigdbr already handles that and throws relatively transparent error. Removed the code for the case when only one category is requested as it is redundant with the loop that handles multiple categories. Added a case for when library is NULL so it no longer throws an error.