| predict_titan | R Documentation |
Backward-compatible wrapper for [predict_pathofm()] with 'foundation_model = "TITAN"'.
predict_titan(
cancer,
features,
patient_id = NULL,
outcome_type = c("continuous", "binary"),
family = NULL,
warn_ood = TRUE,
include_limited_evidence = FALSE
)
cancer |
One TCGA cancer code per row, or one code recycled to all rows. |
features |
A matrix or data frame containing the correctly named features for 'foundation_model'. |
patient_id |
Optional identifier per row. Repeated identifiers are pooled. |
outcome_type |
One or more of 'continuous' and 'binary'. |
family |
Optional endpoint-family filter. |
warn_ood |
Warn when over 5 percent of dimensions fall outside training ranges. |
include_limited_evidence |
Explicitly opt in to limited-sample models that still crossed the representation-specific matched effect threshold. Models tested below the threshold never enter prediction or reporting. |
A 'pathofm_predictions' data frame with one row for each patient and available TITAN endpoint. Continuous rows contain predictions in the recorded outcome scale. Binary rows contain an uncalibrated discriminant score and a class call; the score is not a probability.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.