Filter a PMO down to selected targets
pmo_filter_by_target_ids.RdReturns a new PMO (as a raw nested list) restricted to the supplied targets,
remapping target_info, panel_info, representative_microhaplotypes,
detected_microhaplotypes, and read_counts_by_stage to the new target
positions.
Value
A PMO list (write with write_pmo_raw()).
Examples
p <- read_pmo(
system.file("extdata", "example_full_pmo.json.gz", package = "pmotoolsr"))
sub <- pmo_filter_by_target_ids(p, 1:3)