| pathofm_sample_report | R Documentation |
Create a single-sample pathology-foundation-model research output
pathofm_sample_report(
cancer,
features,
foundation_model = c("TITAN", "GigaSSL", "ProvGigaPath"),
patient_id = NULL,
output_file = NULL,
format = c("html", "pdf", "both"),
clinical_context = NULL,
include_limited_evidence = FALSE,
quiet = TRUE
)
titan_sample_report(
cancer,
features,
patient_id = NULL,
output_file = NULL,
format = c("html", "pdf", "both"),
clinical_context = NULL,
include_limited_evidence = FALSE,
quiet = TRUE
)
cancer |
A single TCGA cancer code. |
features |
One or more slide-feature rows for one patient. |
foundation_model |
One of 'TITAN', 'GigaSSL', or 'ProvGigaPath'. |
patient_id |
Optional patient/sample identifier for all rows. |
output_file |
Explicit file stem or '.html'/'.pdf' path. Required; no report is written unless the caller chooses a destination. |
format |
One of 'html', 'pdf', or 'both'. |
clinical_context |
Optional named list with 'shared_features', 'pathology', and 'source' character fields. This information is displayed as supplied and is not used by any prediction model. |
include_limited_evidence |
Explicitly opt in to limited-sample models that still crossed the matched effect threshold for the selected cancer and representation. Tested-below-threshold objects never enter reports. |
quiet |
Passed to [rmarkdown::render()]. |
Invisibly, the generated file path(s).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.