Class SingleCellExpressionExperimentServiceImpl
- All Implemented Interfaces:
- SingleCellExpressionExperimentService
- 
Nested Class SummaryNested classes/interfaces inherited from interface SingleCellExpressionExperimentServiceSingleCellExpressionExperimentService.SingleCellDimensionInitializationConfig, SingleCellExpressionExperimentService.SingleCellVectorInitializationConfig
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddCellLevelCharacteristics(ExpressionExperiment ee, SingleCellDimension scd, CellLevelCharacteristics clc) Add new cell-level characteristics.addCellTypeAssignment(ExpressionExperiment ee, QuantitationType qt, SingleCellDimension dimension, CellTypeAssignment cta) intaddSingleCellDataVectors(ExpressionExperiment ee, QuantitationType quantitationType, Collection<SingleCellExpressionDataVector> vectors, String details) Add single-cell data vectors.getCellLevelCharacteristics(ExpressionExperiment ee, Category category) Obtain CLC for given category.getCellLevelCharacteristics(ExpressionExperiment expressionExperiment, QuantitationType qt) getCellLevelCharacteristics(ExpressionExperiment expressionExperiment, QuantitationType qt, Long id) Obtain a CLC by name.getCellLevelMask(ExpressionExperiment expressionExperiment, QuantitationType qt) Obtain a mask if one is unambiguously defined for the given experiment and quantitation type.getCellTypeAssignment(ExpressionExperiment expressionExperiment, QuantitationType qt, Long ctaId) Obtain a cell type assignment by ID.getCellTypeAssignment(ExpressionExperiment expressionExperiment, QuantitationType qt, String ctaName) Obtain a cell type assignment by name.getCellTypeAssignmentByProtocol(ExpressionExperiment ee, QuantitationType qt, String protocolName) Obtain a cell type assignment by a protocol identifier.Obtain a collection of protocols used to assign cell types to single-cell vectors.Obtain all the cell type labellings from all single-cell vectors.getCellTypeAssignments(ExpressionExperiment expressionExperiment, QuantitationType qt) getCellTypeAt(ExpressionExperiment ee, QuantitationType qt, Long ctaId, int cellIndex) getCellTypeAt(ExpressionExperiment ee, QuantitationType qt, Long ctaId, int startIndex, int endIndexExclusive) getCellTypeAt(ExpressionExperiment ee, QuantitationType qt, String ctaName, int cellIndex) getCellTypeAt(ExpressionExperiment ee, QuantitationType qt, String ctaName, int startIndex, int endIndexExclusive) Obtain the cell type factor.Obtain the cell types of a given single-cell dataset.longgetNumberOfNonZeroesBySample(ExpressionExperiment ee, QuantitationType qt, int fetchSize, boolean useCursorFetchIfSupported) longObtain the number of single-cell vectors for a given quantitation type.Obtain the preferred cell type labelling from the preferred single-cell vectors.Obtain preferred single-cell vectors.Obtain the preferred single-cell dimension.Obtain the preferred single-cell dimension.Obtain the preferred single-cell dimension without its cell IDs.getPreferredSingleCellDimensionWithoutCellIds(ExpressionExperiment ee, SingleCellExpressionExperimentService.SingleCellDimensionInitializationConfig config) Obtain the preferred single cell quantitation type.getSingleCellDataVectors(ExpressionExperiment ee, List<BioAssay> samples, QuantitationType quantitationType) Obtain single-cell vectors for a particular sample.getSingleCellDataVectors(ExpressionExperiment ee, List<BioAssay> samples, QuantitationType quantitationType, SingleCellExpressionExperimentService.SingleCellVectorInitializationConfig config) getSingleCellDataVectors(ExpressionExperiment ee, QuantitationType quantitationType) Obtain single-cell vectors for a given quantitation type.getSingleCellDataVectors(ExpressionExperiment ee, QuantitationType quantitationType, SingleCellExpressionExperimentService.SingleCellVectorInitializationConfig config) getSingleCellDataVectorWithoutCellIds(ExpressionExperiment ee, QuantitationType quantitationType, CompositeSequence designElement) Obtain a single single-cell vector without initializing cell IDs.Obtain a single-cell dimension used for a given dataset and QT.Obtain all the single-cell dimensions used by a given dataset.getSingleCellDimensionsWithoutCellIds(ExpressionExperiment ee, SingleCellExpressionExperimentService.SingleCellDimensionInitializationConfig config) getSingleCellDimensionWithAssaysAndCellLevelCharacteristics(ExpressionExperiment ee, QuantitationType qt) Retrieve a single-cell dimension with its bioassays and cell-level characteristics initialized.getSingleCellDimensionWithoutCellIds(ExpressionExperiment ee, QuantitationType qt, SingleCellExpressionExperimentService.SingleCellDimensionInitializationConfig config) getSingleCellExpressionDataMatrix(ExpressionExperiment expressionExperiment, List<BioAssay> samples, QuantitationType quantitationType) Obtain a single-cell expression data matrix for the given quantitation type.getSingleCellExpressionDataMatrix(ExpressionExperiment expressionExperiment, QuantitationType quantitationType) Obtain a single-cell expression data matrix for the given quantitation type.Load an experiment with its single-cell data vectors initialized.Recreate the cell type factor based on the preferred labelling of the preferred single-cell vectors.relabelCellTypes(ExpressionExperiment ee, QuantitationType qt, SingleCellDimension dimension, List<String> newCellTypeLabels, Protocol protocol, String description) Relabel the cell types of an existing set of single-cell vectors.voidremoveCellLevelCharacteristics(ExpressionExperiment ee, QuantitationType qt, CellLevelCharacteristics clc) Remove existing cell-level characteristics by QT.voidremoveCellLevelCharacteristics(ExpressionExperiment ee, SingleCellDimension scd, CellLevelCharacteristics clc) Remove existing cell-level characteristics.voidremoveCellLevelCharacteristicsByName(ExpressionExperiment ee, SingleCellDimension dimension, String name) voidremoveCellTypeAssignment(ExpressionExperiment ee, QuantitationType qt, CellTypeAssignment cellTypeAssignment) Remove the given cell type assignment by QT.voidremoveCellTypeAssignment(ExpressionExperiment ee, SingleCellDimension dimension, CellTypeAssignment cellTypeAssignment) Remove the given cell type assignment.voidremoveCellTypeAssignmentByName(ExpressionExperiment ee, SingleCellDimension dimension, String name) intremoveSingleCellDataVectors(ExpressionExperiment ee, QuantitationType quantitationType) Remove single-cell data vectors for the given quantitation type.intreplaceSingleCellDataVectors(ExpressionExperiment ee, QuantitationType quantitationType, Collection<SingleCellExpressionDataVector> vectors, String details) Replace existing single-cell data vectors for the given quantitation type.streamCellIds(ExpressionExperiment ee, boolean createNewSession) streamCellIds(ExpressionExperiment ee, QuantitationType qt, boolean createNewSession) streamCellLevelCharacteristics(ExpressionExperiment ee, CellLevelCharacteristics clc, boolean createNewSession) streamCellTypes(ExpressionExperiment ee, CellTypeAssignment cta, boolean createNewSession) streamSingleCellDataVectors(ExpressionExperiment ee, List<BioAssay> samples, QuantitationType quantitationType, int fetchSize, boolean useCursorFetchIfSupported, boolean createNewSession) streamSingleCellDataVectors(ExpressionExperiment ee, List<BioAssay> samples, QuantitationType quantitationType, int fetchSize, boolean useCursorFetchIfSupported, boolean createNewSession, SingleCellExpressionExperimentService.SingleCellVectorInitializationConfig config) streamSingleCellDataVectors(ExpressionExperiment ee, QuantitationType quantitationType, int fetchSize, boolean useCursorFetchIfSupported, boolean createNewSession) Obtain a stream over single-cell vectors for a given quantitation type.streamSingleCellDataVectors(ExpressionExperiment ee, QuantitationType quantitationType, int fetchSize, boolean useCursorFetchIfSupported, boolean createNewSession, SingleCellExpressionExperimentService.SingleCellVectorInitializationConfig config) voidUpdate the sparsity metrics.
- 
Constructor Details- 
SingleCellExpressionExperimentServiceImplpublic SingleCellExpressionExperimentServiceImpl()
 
- 
- 
Method Details- 
loadWithSingleCellVectorsDescription copied from interface:SingleCellExpressionExperimentServiceLoad an experiment with its single-cell data vectors initialized.The rest of the experiment is also initialized as per ExpressionExperimentDao.thawLite(ExpressionExperiment).- Specified by:
- loadWithSingleCellVectorsin interface- SingleCellExpressionExperimentService
 
- 
getSingleCellDataVectors@Transactional(readOnly=true) public List<SingleCellExpressionDataVector> getSingleCellDataVectors(ExpressionExperiment ee, QuantitationType quantitationType) Description copied from interface:SingleCellExpressionExperimentServiceObtain single-cell vectors for a given quantitation type.- Specified by:
- getSingleCellDataVectorsin interface- SingleCellExpressionExperimentService
 
- 
getSingleCellDataVectors@Transactional(readOnly=true) public Collection<SingleCellExpressionDataVector> getSingleCellDataVectors(ExpressionExperiment ee, QuantitationType quantitationType, SingleCellExpressionExperimentService.SingleCellVectorInitializationConfig config) - Specified by:
- getSingleCellDataVectorsin interface- SingleCellExpressionExperimentService
 
- 
getSingleCellDataVectors@Transactional(readOnly=true) public Collection<SingleCellExpressionDataVector> getSingleCellDataVectors(ExpressionExperiment ee, List<BioAssay> samples, QuantitationType quantitationType) Description copied from interface:SingleCellExpressionExperimentServiceObtain single-cell vectors for a particular sample.- Specified by:
- getSingleCellDataVectorsin interface- SingleCellExpressionExperimentService
 
- 
getSingleCellDataVectors@Transactional(readOnly=true) public Collection<SingleCellExpressionDataVector> getSingleCellDataVectors(ExpressionExperiment ee, List<BioAssay> samples, QuantitationType quantitationType, SingleCellExpressionExperimentService.SingleCellVectorInitializationConfig config) - Specified by:
- getSingleCellDataVectorsin interface- SingleCellExpressionExperimentService
 
- 
streamSingleCellDataVectors@Transactional(readOnly=true) public Stream<SingleCellExpressionDataVector> streamSingleCellDataVectors(ExpressionExperiment ee, QuantitationType quantitationType, int fetchSize, boolean useCursorFetchIfSupported, boolean createNewSession) Description copied from interface:SingleCellExpressionExperimentServiceObtain a stream over single-cell vectors for a given quantitation type.- Specified by:
- streamSingleCellDataVectorsin interface- SingleCellExpressionExperimentService
 
- 
streamSingleCellDataVectors@Transactional(readOnly=true) public Stream<SingleCellExpressionDataVector> streamSingleCellDataVectors(ExpressionExperiment ee, QuantitationType quantitationType, int fetchSize, boolean useCursorFetchIfSupported, boolean createNewSession, SingleCellExpressionExperimentService.SingleCellVectorInitializationConfig config) - Specified by:
- streamSingleCellDataVectorsin interface- SingleCellExpressionExperimentService
 
- 
streamSingleCellDataVectors@Transactional(readOnly=true) public Stream<SingleCellExpressionDataVector> streamSingleCellDataVectors(ExpressionExperiment ee, List<BioAssay> samples, QuantitationType quantitationType, int fetchSize, boolean useCursorFetchIfSupported, boolean createNewSession, SingleCellExpressionExperimentService.SingleCellVectorInitializationConfig config) - Specified by:
- streamSingleCellDataVectorsin interface- SingleCellExpressionExperimentService
 
- 
streamSingleCellDataVectors@Transactional(readOnly=true) public Stream<SingleCellExpressionDataVector> streamSingleCellDataVectors(ExpressionExperiment ee, List<BioAssay> samples, QuantitationType quantitationType, int fetchSize, boolean useCursorFetchIfSupported, boolean createNewSession) - Specified by:
- streamSingleCellDataVectorsin interface- SingleCellExpressionExperimentService
 
- 
getSingleCellDataVectorWithoutCellIds@Transactional(readOnly=true) public SingleCellExpressionDataVector getSingleCellDataVectorWithoutCellIds(ExpressionExperiment ee, QuantitationType quantitationType, CompositeSequence designElement) Description copied from interface:SingleCellExpressionExperimentServiceObtain a single single-cell vector without initializing cell IDs.- Specified by:
- getSingleCellDataVectorWithoutCellIdsin interface- SingleCellExpressionExperimentService
- See Also:
 
- 
getNumberOfSingleCellDataVectors@Transactional(readOnly=true) public long getNumberOfSingleCellDataVectors(ExpressionExperiment ee, QuantitationType qt) Description copied from interface:SingleCellExpressionExperimentServiceObtain the number of single-cell vectors for a given quantitation type.- Specified by:
- getNumberOfSingleCellDataVectorsin interface- SingleCellExpressionExperimentService
 
- 
getNumberOfNonZeroes@Transactional(readOnly=true) public long getNumberOfNonZeroes(ExpressionExperiment ee, QuantitationType qt) - Specified by:
- getNumberOfNonZeroesin interface- SingleCellExpressionExperimentService
 
- 
getNumberOfNonZeroesBySample@Transactional(readOnly=true) public Map<BioAssay,Long> getNumberOfNonZeroesBySample(ExpressionExperiment ee, QuantitationType qt, int fetchSize, boolean useCursorFetchIfSupported) - Specified by:
- getNumberOfNonZeroesBySamplein interface- SingleCellExpressionExperimentService
 
- 
getPreferredSingleCellDataVectors@Transactional(readOnly=true) public Optional<Collection<SingleCellExpressionDataVector>> getPreferredSingleCellDataVectors(ExpressionExperiment ee) Description copied from interface:SingleCellExpressionExperimentServiceObtain preferred single-cell vectors.- Specified by:
- getPreferredSingleCellDataVectorsin interface- SingleCellExpressionExperimentService
 
- 
getSingleCellQuantitationTypes@Transactional(readOnly=true) public Collection<QuantitationType> getSingleCellQuantitationTypes(ExpressionExperiment ee) - Specified by:
- getSingleCellQuantitationTypesin interface- SingleCellExpressionExperimentService
 
- 
getPreferredSingleCellQuantitationType@Transactional(readOnly=true) public Optional<QuantitationType> getPreferredSingleCellQuantitationType(ExpressionExperiment ee) Description copied from interface:SingleCellExpressionExperimentServiceObtain the preferred single cell quantitation type.- Specified by:
- getPreferredSingleCellQuantitationTypein interface- SingleCellExpressionExperimentService
 
- 
getSingleCellExpressionDataMatrix@Transactional(readOnly=true) public SingleCellExpressionDataMatrix<?> getSingleCellExpressionDataMatrix(ExpressionExperiment expressionExperiment, List<BioAssay> samples, QuantitationType quantitationType) Description copied from interface:SingleCellExpressionExperimentServiceObtain a single-cell expression data matrix for the given quantitation type.- Specified by:
- getSingleCellExpressionDataMatrixin interface- SingleCellExpressionExperimentService
 
- 
getSingleCellExpressionDataMatrix@Transactional(readOnly=true) public SingleCellExpressionDataMatrix<?> getSingleCellExpressionDataMatrix(ExpressionExperiment expressionExperiment, QuantitationType quantitationType) Description copied from interface:SingleCellExpressionExperimentServiceObtain a single-cell expression data matrix for the given quantitation type.- Specified by:
- getSingleCellExpressionDataMatrixin interface- SingleCellExpressionExperimentService
 
- 
addSingleCellDataVectors@Transactional public int addSingleCellDataVectors(ExpressionExperiment ee, QuantitationType quantitationType, Collection<SingleCellExpressionDataVector> vectors, @Nullable String details) Description copied from interface:SingleCellExpressionExperimentServiceAdd single-cell data vectors.- Specified by:
- addSingleCellDataVectorsin interface- SingleCellExpressionExperimentService
- Returns:
- the number of vectors that were added
 
- 
replaceSingleCellDataVectors@Transactional public int replaceSingleCellDataVectors(ExpressionExperiment ee, QuantitationType quantitationType, Collection<SingleCellExpressionDataVector> vectors, @Nullable String details) Description copied from interface:SingleCellExpressionExperimentServiceReplace existing single-cell data vectors for the given quantitation type.- Specified by:
- replaceSingleCellDataVectorsin interface- SingleCellExpressionExperimentService
- Parameters:
- details- additional details to include in the audit event
- Returns:
- the number of vectors that were replaced
 
- 
updateSparsityMetricsDescription copied from interface:SingleCellExpressionExperimentServiceUpdate the sparsity metrics.If no preferred single-cell vectors are present, the sparsity metrics will be cleared. - Specified by:
- updateSparsityMetricsin interface- SingleCellExpressionExperimentService
 
- 
removeSingleCellDataVectors@Transactional public int removeSingleCellDataVectors(ExpressionExperiment ee, QuantitationType quantitationType) Description copied from interface:SingleCellExpressionExperimentServiceRemove single-cell data vectors for the given quantitation type.- Specified by:
- removeSingleCellDataVectorsin interface- SingleCellExpressionExperimentService
- Returns:
- the number of vectors that were removed
 
- 
getSingleCellDimensionWithCellLevelCharacteristics@Transactional(readOnly=true) public SingleCellDimension getSingleCellDimensionWithCellLevelCharacteristics(ExpressionExperiment ee, QuantitationType qt) - Specified by:
- getSingleCellDimensionWithCellLevelCharacteristicsin interface- SingleCellExpressionExperimentService
 
- 
getSingleCellDimensionWithAssaysAndCellLevelCharacteristics@Transactional(readOnly=true) public SingleCellDimension getSingleCellDimensionWithAssaysAndCellLevelCharacteristics(ExpressionExperiment ee, QuantitationType qt) Description copied from interface:SingleCellExpressionExperimentServiceRetrieve a single-cell dimension with its bioassays and cell-level characteristics initialized.- Specified by:
- getSingleCellDimensionWithAssaysAndCellLevelCharacteristicsin interface- SingleCellExpressionExperimentService
- Parameters:
- ee-
- qt-
- Returns:
 
- 
getSingleCellDimensionWithoutCellIds@Transactional(readOnly=true) public SingleCellDimension getSingleCellDimensionWithoutCellIds(ExpressionExperiment ee, QuantitationType qt, SingleCellExpressionExperimentService.SingleCellDimensionInitializationConfig config) - Specified by:
- getSingleCellDimensionWithoutCellIdsin interface- SingleCellExpressionExperimentService
 
- 
getSingleCellDimensions@Transactional(readOnly=true) public List<SingleCellDimension> getSingleCellDimensions(ExpressionExperiment ee) Description copied from interface:SingleCellExpressionExperimentServiceObtain all the single-cell dimensions used by a given dataset.- Specified by:
- getSingleCellDimensionsin interface- SingleCellExpressionExperimentService
 
- 
getSingleCellDimensionsWithoutCellIds@Transactional(readOnly=true) public List<SingleCellDimension> getSingleCellDimensionsWithoutCellIds(ExpressionExperiment ee) - Specified by:
- getSingleCellDimensionsWithoutCellIdsin interface- SingleCellExpressionExperimentService
 
- 
getSingleCellDimensionsWithoutCellIds@Transactional(readOnly=true) public List<SingleCellDimension> getSingleCellDimensionsWithoutCellIds(ExpressionExperiment ee, SingleCellExpressionExperimentService.SingleCellDimensionInitializationConfig config) - Specified by:
- getSingleCellDimensionsWithoutCellIdsin interface- SingleCellExpressionExperimentService
 
- 
getSingleCellDimension@Transactional(readOnly=true) public SingleCellDimension getSingleCellDimension(ExpressionExperiment ee, QuantitationType qt) Description copied from interface:SingleCellExpressionExperimentServiceObtain a single-cell dimension used for a given dataset and QT.- Specified by:
- getSingleCellDimensionin interface- SingleCellExpressionExperimentService
 
- 
getSingleCellDimensionWithoutCellIds@Transactional(readOnly=true) public SingleCellDimension getSingleCellDimensionWithoutCellIds(ExpressionExperiment ee, QuantitationType qt) - Specified by:
- getSingleCellDimensionWithoutCellIdsin interface- SingleCellExpressionExperimentService
 
- 
getPreferredSingleCellDimension@Transactional(readOnly=true) public Optional<SingleCellDimension> getPreferredSingleCellDimension(ExpressionExperiment ee) Description copied from interface:SingleCellExpressionExperimentServiceObtain the preferred single-cell dimension.Cell type assignments and other cell-level characteristics are eagerly initialized. - Specified by:
- getPreferredSingleCellDimensionin interface- SingleCellExpressionExperimentService
 
- 
getPreferredSingleCellDimensionWithoutCellIds@Transactional(readOnly=true) public Optional<SingleCellDimension> getPreferredSingleCellDimensionWithoutCellIds(ExpressionExperiment ee) Description copied from interface:SingleCellExpressionExperimentServiceObtain the preferred single-cell dimension without its cell IDs.The returned object is not persistent since it's a projection. - Specified by:
- getPreferredSingleCellDimensionWithoutCellIdsin interface- SingleCellExpressionExperimentService
 
- 
getPreferredSingleCellDimensionWithoutCellIds@Transactional(readOnly=true) public Optional<SingleCellDimension> getPreferredSingleCellDimensionWithoutCellIds(ExpressionExperiment ee, SingleCellExpressionExperimentService.SingleCellDimensionInitializationConfig config) - Specified by:
- getPreferredSingleCellDimensionWithoutCellIdsin interface- SingleCellExpressionExperimentService
 
- 
getPreferredSingleCellDimensionWithCellLevelCharacteristics@Transactional(readOnly=true) public Optional<SingleCellDimension> getPreferredSingleCellDimensionWithCellLevelCharacteristics(ExpressionExperiment ee) Description copied from interface:SingleCellExpressionExperimentServiceObtain the preferred single-cell dimension.Cell type assignments and other cell-level characteristics are eagerly initialized. - Specified by:
- getPreferredSingleCellDimensionWithCellLevelCharacteristicsin interface- SingleCellExpressionExperimentService
 
- 
streamCellIds@Transactional(readOnly=true) public Optional<Stream<String>> streamCellIds(ExpressionExperiment ee, boolean createNewSession) - Specified by:
- streamCellIdsin interface- SingleCellExpressionExperimentService
 
- 
streamCellIds@Transactional(readOnly=true) public Stream<String> streamCellIds(ExpressionExperiment ee, QuantitationType qt, boolean createNewSession) - Specified by:
- streamCellIdsin interface- SingleCellExpressionExperimentService
 
- 
streamCellTypes@Transactional(readOnly=true) public Stream<Characteristic> streamCellTypes(ExpressionExperiment ee, CellTypeAssignment cta, boolean createNewSession) - Specified by:
- streamCellTypesin interface- SingleCellExpressionExperimentService
 
- 
getCellTypeAt@Transactional(readOnly=true) public Characteristic getCellTypeAt(ExpressionExperiment ee, QuantitationType qt, Long ctaId, int cellIndex) - Specified by:
- getCellTypeAtin interface- SingleCellExpressionExperimentService
 
- 
getCellTypeAt@Transactional(readOnly=true) public Characteristic[] getCellTypeAt(ExpressionExperiment ee, QuantitationType qt, Long ctaId, int startIndex, int endIndexExclusive) - Specified by:
- getCellTypeAtin interface- SingleCellExpressionExperimentService
 
- 
getCellTypeAt@Transactional(readOnly=true) public Characteristic getCellTypeAt(ExpressionExperiment ee, QuantitationType qt, String ctaName, int cellIndex) - Specified by:
- getCellTypeAtin interface- SingleCellExpressionExperimentService
 
- 
getCellTypeAt@Transactional(readOnly=true) public Characteristic[] getCellTypeAt(ExpressionExperiment ee, QuantitationType qt, String ctaName, int startIndex, int endIndexExclusive) - Specified by:
- getCellTypeAtin interface- SingleCellExpressionExperimentService
 
- 
getCellLevelCharacteristicsCategory@Transactional(readOnly=true) public Category getCellLevelCharacteristicsCategory(ExpressionExperiment ee, CellLevelCharacteristics clc) - Specified by:
- getCellLevelCharacteristicsCategoryin interface- SingleCellExpressionExperimentService
 
- 
streamCellLevelCharacteristics@Transactional(readOnly=true) public Stream<Characteristic> streamCellLevelCharacteristics(ExpressionExperiment ee, CellLevelCharacteristics clc, boolean createNewSession) - Specified by:
- streamCellLevelCharacteristicsin interface- SingleCellExpressionExperimentService
 
- 
relabelCellTypes@Transactional public CellTypeAssignment relabelCellTypes(ExpressionExperiment ee, QuantitationType qt, SingleCellDimension dimension, List<String> newCellTypeLabels, @Nullable Protocol protocol, @Nullable String description) Description copied from interface:SingleCellExpressionExperimentServiceRelabel the cell types of an existing set of single-cell vectors.- Specified by:
- relabelCellTypesin interface- SingleCellExpressionExperimentService
- Parameters:
- newCellTypeLabels- the new cell types labels, must match the number of cells
- protocol- the protocol used to generate the new labelling, or null if unknown
- Returns:
- a new, preferred cell type labelling
 
- 
addCellTypeAssignment@Transactional public CellTypeAssignment addCellTypeAssignment(ExpressionExperiment ee, QuantitationType qt, SingleCellDimension dimension, CellTypeAssignment cta) - Specified by:
- addCellTypeAssignmentin interface- SingleCellExpressionExperimentService
 
- 
removeCellTypeAssignment@Transactional public void removeCellTypeAssignment(ExpressionExperiment ee, SingleCellDimension dimension, CellTypeAssignment cellTypeAssignment) Description copied from interface:SingleCellExpressionExperimentServiceRemove the given cell type assignment.If the cell type labelling is preferred and applies to the preferred vectors as per SingleCellExpressionExperimentService.getPreferredCellTypeAssignment(ExpressionExperiment), the cell type factor will be removed.- Specified by:
- removeCellTypeAssignmentin interface- SingleCellExpressionExperimentService
 
- 
removeCellTypeAssignment@Transactional public void removeCellTypeAssignment(ExpressionExperiment ee, QuantitationType qt, CellTypeAssignment cellTypeAssignment) Description copied from interface:SingleCellExpressionExperimentServiceRemove the given cell type assignment by QT.- Specified by:
- removeCellTypeAssignmentin interface- SingleCellExpressionExperimentService
- See Also:
 
- 
removeCellTypeAssignmentByName@Transactional public void removeCellTypeAssignmentByName(ExpressionExperiment ee, SingleCellDimension dimension, String name) - Specified by:
- removeCellTypeAssignmentByNamein interface- SingleCellExpressionExperimentService
 
- 
getCellTypeAssignments@Transactional(readOnly=true) public List<CellTypeAssignment> getCellTypeAssignments(ExpressionExperiment ee) Description copied from interface:SingleCellExpressionExperimentServiceObtain all the cell type labellings from all single-cell vectors.- Specified by:
- getCellTypeAssignmentsin interface- SingleCellExpressionExperimentService
 
- 
getCellTypeAssignments@Transactional(readOnly=true) public List<CellTypeAssignment> getCellTypeAssignments(ExpressionExperiment expressionExperiment, QuantitationType qt) - Specified by:
- getCellTypeAssignmentsin interface- SingleCellExpressionExperimentService
 
- 
getCellTypeAssignment@Transactional(readOnly=true) public CellTypeAssignment getCellTypeAssignment(ExpressionExperiment expressionExperiment, QuantitationType qt, Long ctaId) Description copied from interface:SingleCellExpressionExperimentServiceObtain a cell type assignment by ID.- Specified by:
- getCellTypeAssignmentin interface- SingleCellExpressionExperimentService
- Returns:
- that cell type assignmente, or null if none is found
 
- 
getCellTypeAssignment@Transactional(readOnly=true) public CellTypeAssignment getCellTypeAssignment(ExpressionExperiment expressionExperiment, QuantitationType qt, String ctaName) Description copied from interface:SingleCellExpressionExperimentServiceObtain a cell type assignment by name.- Specified by:
- getCellTypeAssignmentin interface- SingleCellExpressionExperimentService
- Returns:
- that cell type assignmente, or null if none is found
 
- 
getCellTypeAssignmentProtocolsDescription copied from interface:SingleCellExpressionExperimentServiceObtain a collection of protocols used to assign cell types to single-cell vectors.- Specified by:
- getCellTypeAssignmentProtocolsin interface- SingleCellExpressionExperimentService
 
- 
getCellTypeAssignmentByProtocol@Transactional(readOnly=true) public Collection<CellTypeAssignment> getCellTypeAssignmentByProtocol(ExpressionExperiment ee, QuantitationType qt, String protocolName) Description copied from interface:SingleCellExpressionExperimentServiceObtain a cell type assignment by a protocol identifier.- Specified by:
- getCellTypeAssignmentByProtocolin interface- SingleCellExpressionExperimentService
 
- 
getPreferredCellTypeAssignment@Transactional(readOnly=true) public Optional<CellTypeAssignment> getPreferredCellTypeAssignment(ExpressionExperiment ee) Description copied from interface:SingleCellExpressionExperimentServiceObtain the preferred cell type labelling from the preferred single-cell vectors.- Specified by:
- getPreferredCellTypeAssignmentin interface- SingleCellExpressionExperimentService
 
- 
getPreferredCellTypeAssignment@Transactional(readOnly=true) public Optional<CellTypeAssignment> getPreferredCellTypeAssignment(ExpressionExperiment ee, QuantitationType qt) - Specified by:
- getPreferredCellTypeAssignmentin interface- SingleCellExpressionExperimentService
 
- 
addCellLevelCharacteristics@Transactional public CellLevelCharacteristics addCellLevelCharacteristics(ExpressionExperiment ee, SingleCellDimension scd, CellLevelCharacteristics clc) Description copied from interface:SingleCellExpressionExperimentServiceAdd new cell-level characteristics.- Specified by:
- addCellLevelCharacteristicsin interface- SingleCellExpressionExperimentService
 
- 
removeCellLevelCharacteristics@Transactional public void removeCellLevelCharacteristics(ExpressionExperiment ee, SingleCellDimension scd, CellLevelCharacteristics clc) Description copied from interface:SingleCellExpressionExperimentServiceRemove existing cell-level characteristics.- Specified by:
- removeCellLevelCharacteristicsin interface- SingleCellExpressionExperimentService
 
- 
removeCellLevelCharacteristics@Transactional public void removeCellLevelCharacteristics(ExpressionExperiment ee, QuantitationType qt, CellLevelCharacteristics clc) Description copied from interface:SingleCellExpressionExperimentServiceRemove existing cell-level characteristics by QT.- Specified by:
- removeCellLevelCharacteristicsin interface- SingleCellExpressionExperimentService
 
- 
removeCellLevelCharacteristicsByName@Transactional public void removeCellLevelCharacteristicsByName(ExpressionExperiment ee, SingleCellDimension dimension, String name) - Specified by:
- removeCellLevelCharacteristicsByNamein interface- SingleCellExpressionExperimentService
 
- 
getCellLevelCharacteristics@Transactional(readOnly=true) public List<CellLevelCharacteristics> getCellLevelCharacteristics(ExpressionExperiment ee) - Specified by:
- getCellLevelCharacteristicsin interface- SingleCellExpressionExperimentService
- See Also:
 
- 
getCellLevelCharacteristics@Transactional(readOnly=true) public List<CellLevelCharacteristics> getCellLevelCharacteristics(ExpressionExperiment ee, Category category) Description copied from interface:SingleCellExpressionExperimentServiceObtain CLC for given category.- Specified by:
- getCellLevelCharacteristicsin interface- SingleCellExpressionExperimentService
 
- 
getCellLevelCharacteristics@Nullable @Transactional(readOnly=true) public CellLevelCharacteristics getCellLevelCharacteristics(ExpressionExperiment expressionExperiment, QuantitationType qt, Long id) - Specified by:
- getCellLevelCharacteristicsin interface- SingleCellExpressionExperimentService
 
- 
getCellLevelCharacteristics@Nullable @Transactional(readOnly=true) public CellLevelCharacteristics getCellLevelCharacteristics(ExpressionExperiment ee, QuantitationType qt, String name) Description copied from interface:SingleCellExpressionExperimentServiceObtain a CLC by name.- Specified by:
- getCellLevelCharacteristicsin interface- SingleCellExpressionExperimentService
 
- 
getCellLevelCharacteristics@Transactional(readOnly=true) public List<CellLevelCharacteristics> getCellLevelCharacteristics(ExpressionExperiment expressionExperiment, QuantitationType qt) - Specified by:
- getCellLevelCharacteristicsin interface- SingleCellExpressionExperimentService
 
- 
getCellLevelMask@Transactional(readOnly=true) public Optional<CellLevelCharacteristics> getCellLevelMask(ExpressionExperiment expressionExperiment, QuantitationType qt) Description copied from interface:SingleCellExpressionExperimentServiceObtain a mask if one is unambiguously defined for the given experiment and quantitation type.- Specified by:
- getCellLevelMaskin interface- SingleCellExpressionExperimentService
 
- 
getCellTypesDescription copied from interface:SingleCellExpressionExperimentServiceObtain the cell types of a given single-cell dataset.Only the cell types applicable to the preferred single-cell vectors and labelling are returned. - Specified by:
- getCellTypesin interface- SingleCellExpressionExperimentService
 
- 
getCellTypeFactorDescription copied from interface:SingleCellExpressionExperimentServiceObtain the cell type factor.- Specified by:
- getCellTypeFactorin interface- SingleCellExpressionExperimentService
- Returns:
- a cell type factor, or null of none exist
 
- 
recreateCellTypeFactorDescription copied from interface:SingleCellExpressionExperimentServiceRecreate the cell type factor based on the preferred labelling of the preferred single-cell vectors.Analyses involving the factor are removed and samples mentioning the factor values are updated as per ExperimentalFactorService.remove(ExperimentalFactor).- Specified by:
- recreateCellTypeFactorin interface- SingleCellExpressionExperimentService
- Returns:
- the created cell type factor
 
 
-