Filter the dataset to retain or exclude specific chromosomes.

# S4 method for class 'DsASC'
filterChroms(.object, keep = NULL, remove = NULL)

Arguments

.object

DsASC object

keep

Character vector of chromosomes to keep. If NULL (default), all are kept unless 'remove' is specified. Special value "standard" keeps chr1-22, X, Y.

remove

Character vector of chromosomes to remove (e.g., "chrM").

Value

A new DsASC object with the specified chromosomes filtered.