Class CellXGeneAnnDataSingleCellDataLoader
java.lang.Object
ubic.gemma.core.loader.expression.singleCell.AnnDataSingleCellDataLoader
ubic.gemma.core.loader.expression.cellxgene.CellXGeneAnnDataSingleCellDataLoader
- All Implemented Interfaces:
Closeable,AutoCloseable,DataLoader,SequencingDataLoader,SingleCellDataLoader
-
Constructor Summary
ConstructorsConstructorDescriptionCellXGeneAnnDataSingleCellDataLoader(Path file, boolean keepPooledSample, boolean keepUnknownSample) -
Method Summary
Modifier and TypeMethodDescriptiongetCellTypeAssignments(SingleCellDimension dimension) Load single-cell type assignments present in the data.Load quantitation types present in the data.Obtain the sample names present in the data.getSamplesCharacteristics(Collection<BioAssay> samples) Load samples characteristics present in the data.Methods inherited from class ubic.gemma.core.loader.expression.singleCell.AnnDataSingleCellDataLoader
close, getFactors, getGenes, getGenes, getOtherCellLevelCharacteristics, getSequencingMetadata, getSequencingMetadata, getSingleCellDimension, loadVectors, setBioAssayToSampleNameMapper, setCellTypeFactorName, setCellTypeUriFactorName, setDesignElementToGeneMapper, setIgnoreCellTypeFactor, setIgnoreDataVectors, setIgnoreUnmatchedDesignElements, setIgnoreUnmatchedSamples, setMaxCharacteristics, setSampleFactorName, setTranspose, setUnknownCellTypeIndicator, setUseRawX
-
Constructor Details
-
CellXGeneAnnDataSingleCellDataLoader
public CellXGeneAnnDataSingleCellDataLoader(Path file, boolean keepPooledSample, boolean keepUnknownSample)
-
-
Method Details
-
getSampleNames
Description copied from interface:DataLoaderObtain the sample names present in the data.- Specified by:
getSampleNamesin interfaceDataLoader- Overrides:
getSampleNamesin classAnnDataSingleCellDataLoader- Throws:
IOException
-
getSamplesCharacteristics
public Map<BioMaterial,Set<Characteristic>> getSamplesCharacteristics(Collection<BioAssay> samples) throws IOException Description copied from interface:DataLoaderLoad samples characteristics present in the data.- Specified by:
getSamplesCharacteristicsin interfaceDataLoader- Overrides:
getSamplesCharacteristicsin classAnnDataSingleCellDataLoader- Parameters:
samples- to use when determining which characteristics to load- Returns:
- proposed characteristics grouped by sample
- Throws:
IOException
-
getCellTypeAssignments
public Set<CellTypeAssignment> getCellTypeAssignments(SingleCellDimension dimension) throws IOException Description copied from interface:SingleCellDataLoaderLoad single-cell type assignments present in the data.- Specified by:
getCellTypeAssignmentsin interfaceSingleCellDataLoader- Overrides:
getCellTypeAssignmentsin classAnnDataSingleCellDataLoader- Throws:
IOException
-
getQuantitationTypes
Description copied from interface:DataLoaderLoad quantitation types present in the data.- Specified by:
getQuantitationTypesin interfaceDataLoader- Overrides:
getQuantitationTypesin classAnnDataSingleCellDataLoader- Throws:
IOException
-