Coerce all matrices in datasets to use the same cells
align_cells.RdCoerce all matrices in datasets to use the same cells
Arguments
- proj
(MarchRDataset or MarchRProject) The project or dataset to align cells in.
- how
(character) Method to align cells. One of
intersectorzero_fill.intersectwill keep only cells that are present in all matrices and fragments.zero_fillwill fill in missing cells with zeros. Missing metadata entries are filled with NA. Fragment objects retain only observed fragments, with empty cells included in their cell-name index.- datasets
(character vector) A vector of dataset names to align.
- ...
Additional arguments for future extensibility.
See also
validate_cell_alignment() zero_fill_matrix()