Annotate CNVs and compute the X-CNV MVP score. With an upstream model this
evaluates a staged xcnv-tree-v1 artifact in ordinary R. Installing and
running the package does not require XGBoost.
Usage
predict_cnv(
x,
resources,
model = NULL,
overlap_backend = c("duckdb", "reference")
)Arguments
- x
A path, data frame, or matrix containing CNV records.
- resources
An
xcnv_resourcesobject or an explicit resource directory.- model
A model object/path. If
NULL, a model inresourcesis used when present, otherwise the bundled published model is used.- overlap_backend
Passed to
annotate_cnv().