NathanSkene / EWCE

Expression Weighted Celltype Enrichment. See the package website for up-to-date instructions on usage.
https://nathanskene.github.io/EWCE/index.html
53 stars 25 forks source link

Add error catch for when bootstrap.enrichment.test is called and $mean_exp has different dimensions to $specificity #11

Closed NathanSkene closed 1 year ago

NathanSkene commented 4 years ago

This can occur when messing around with the code. It gives an uninformative error when this happens. Would be good to just catch it.

bschilder commented 1 year ago

Pretty sure we've put in enough safeguards since this post to avoid this situation.