Extract PBM scores for genomic intervals
pbm.gextract.Rd
This function extracts PBM scores of a given PBM for genomic intervals and optionally computes the response.
Usage
pbm.gextract(
pbm,
intervals,
response = FALSE,
func = "logSumExp",
normalize_energies = TRUE
)
Arguments
- pbm
A PBM object
- intervals
Genomic intervals to extract
- response
Logical, whether to compute the response (default is FALSE)
- func
the function to use to combine the PWMs for each sequence. Either 'logSumExp' or 'max'. The default is 'logSumExp'.
- normalize_energies
A logical flag indicating whether to normalize the energies to a range of 0-10. Default is TRUE. Note that response computation requires normalized energies.