Computes probe-to-region overlaps, preserves feature metadata, and drops
regions with fewer than min_probes overlapping probes.
Arguments
- se
A SummarizedExperiment::SummarizedExperiment with non-empty
rowRanges().- features
A GenomicRanges::GRanges of regions. If
names(features)isNULLor empty, IDsregion_1, region_2, ...are generated.- min_probes
Integer. Regions with fewer overlapping probes are dropped. Default
3L.
Value
A data.frame with (at minimum) columns
probe_id, probe_idx, region_id, region_idx, n_probes, plus any
mcols(features) columns. Attributes:
dropped_regions: character vector of region IDs excluded.min_probes: the threshold applied.n_features_in: regions supplied.n_features_out: regions retained.