Browse code

removed non-matching genesthat produced NA from plotDimReduceFeature

Joshua D. Campbell authored on 16/07/2021 20:02:38
Showing 1 changed files

... ...
@@ -602,6 +602,7 @@ setMethod("plotDimReduceFeature",
602 602
   }
603 603
 
604 604
   # After normalization, features can be selected
605
+  featuresIx <- featuresIx[stats::complete.cases(featuresIx)]
605 606
   counts <- as.matrix(counts[featuresIx, , drop = FALSE])
606 607
 
607 608
   # Scale/zscore data if needed