Class SingleCellMaskUtils
java.lang.Object
ubic.gemma.core.analysis.singleCell.SingleCellMaskUtils
Utility class for handling masks in single-cell analysis.
- Author:
- poirigui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CellLevelCharacteristics
createMask
(boolean[] mask) Create a mask from a boolean array.static boolean[]
Parse a mask from aCellLevelCharacteristics
object.static boolean[]
parseMask
(CellLevelCharacteristics mask, boolean createArray) static void
Validate a mask.
-
Constructor Details
-
SingleCellMaskUtils
public SingleCellMaskUtils()
-
-
Method Details
-
createMask
Create a mask from a boolean array. -
validateMask
Validate a mask.- Throws:
IllegalArgumentException
- if the mask is not valid.
-
parseMask
Parse a mask from aCellLevelCharacteristics
object. -
parseMask
-