Subsets a peak_table while preserving and subsetting all associated
slots (tab, pk_meta, sample_meta, instrument_meta, ref_spectra).
Arguments
- x
A
peak_tableobject.- i
Row indices (samples) to subset.
- j
Column indices (peaks) to subset.
- ...
Additional arguments (ignored).
- drop
Passed to the
[indexing operator.
Note
Subsetting a peak_table does not modify the associated chrom_list.
Methods that rely on the chrom_list (e.g., plot_spectrum) may not work
as expected on a subsetted peak_table unless the chrom_list is subsetted
separately.
