Subset, translate, or reorder cell IDs
Usage
select_cells(fragments, cell_selection)
Arguments
- fragments
Input fragments object
- cell_selection
List of cell IDs (numeric), names (character), or logical mask.
Details
Numeric cell IDs will be re-assigned in the order of cell_selection
.
The output cell ID n
will be taken from the input cell with ID/name cell_selection[n]
.