Predict from a clanc
Arguments
- object
A
clanc
object.- new_data
A data frame or matrix of new predictors.
- type
A single character. The type of predictions to generate. Valid options are:
"numeric"
for numeric predictions.
- assay
If
object
inheritsSummarizedExperiment
, the index of the assay.- format
Character. Are the data "wide" (default), with genes as columns, or "tall", with genes as rows?
- ...
Not used, but required for extensibility.
- method
If
type
isnumeric
, the method of correlation