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 CellLevelCharacteristicscreateMask(boolean[] mask) Create a mask from a boolean array.static boolean[]Parse a mask from aCellLevelCharacteristicsobject.static boolean[]parseMask(CellLevelCharacteristics mask, boolean createArray) static voidValidate 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 aCellLevelCharacteristicsobject. -
parseMask
-