welch-lab / liger

R package for integrating and analyzing multiple single-cell datasets
GNU General Public License v3.0
389 stars 78 forks source link

Bug in getProportionMito #252

Open jsodicoff opened 2 years ago

jsodicoff commented 2 years ago

I noticed that getProportionMito gives an uninformative error (about indexing) if all mitochondrial genes found are not shared across all datasets. Using %in% instead of indexing ought to correct that.