Class SingleCellDimensionUtils
- java.lang.Object
-
- ubic.gemma.model.expression.bioAssayData.SingleCellDimensionUtils
-
public class SingleCellDimensionUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description SingleCellDimensionUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<BioAssay,Map<String,Integer>>
createIndex(SingleCellDimension singleCellDimension)
Create an index of bioassays to their cell IDs and their position in the bioassays.static Map<String,Map<BioAssay,Integer>>
createReverseIndex(SingleCellDimension singleCellDimension)
Create a reverse index of cell IDs to their corresponding position in bioassays.
-
-
-
Method Detail
-
createIndex
public static Map<BioAssay,Map<String,Integer>> createIndex(SingleCellDimension singleCellDimension)
Create an index of bioassays to their cell IDs and their position in the bioassays.This is useful for quickly finding the position of a cell ID in a corresponding
SingleCellExpressionDataVector
.
-
createReverseIndex
public static Map<String,Map<BioAssay,Integer>> createReverseIndex(SingleCellDimension singleCellDimension)
Create a reverse index of cell IDs to their corresponding position in bioassays.This is useful to find the occurrences of a given barcode in a
SingleCellExpressionDataVector
.
-
-