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