This function extracts local PBM scores for genomic intervals and optionally computes the response.
Arguments
- pbm
A PBM object
- intervals
Genomic intervals to extract
- response
Logical, whether to compute the response (default is FALSE)
- scaling_q
Scaling quantile for normalization (default is NULL)
Value
A matrix of extracted local energies / response