Check matrices and fragments to see if they all have the same cells.
validate_cell_alignment.RdFor MarchRDataset, this means checking every matrix/fragments for having the same cells.
For MarchRProject, this means checking a specific dataset(s),
or all datasets that for each dataset, all matrices have the same cells.
Usage
# S3 method for class 'MarchRDataset'
validate_cell_alignment(proj, lazy = FALSE, ...)
# S3 method for class 'MarchRProject'
validate_cell_alignment(proj, lazy = FALSE, datasets = character(0), ...)Arguments
- proj
(MarchRDataset or MarchRProject) The project or dataset to check for cell alignment.
- lazy
(logical) If TRUE, use the stored information for cell alignment, instead of recalculating. Avoid if directly modifying dataset matrices and fragments.
- datasets
(character vector) A vector of dataset names to check for alignment. If
datasetsis empty, check all datasets in the project.