Skip to contents

This method makes predictions using an IQmodel object on new data.

Usage

# S4 method for class 'IQmodel'
predict(
  object,
  new_data = NULL,
  intervals = NULL,
  sequences = NULL,
  rescale = TRUE
)

Arguments

object

An IQmodel object

new_data

Optional data frame or matrix of pre-computed features

intervals

Optional genomic intervals

sequences

Optional DNA sequences

rescale

Logical indicating whether to rescale predictions to the original scale

Value

A vector of normalized and rescaled predictions