Compile ARI and VAF into a Single Table
Source:R/simulation_visualization.R
compute_ari_vaf_table.RdThis function takes a data frame with a file column (typically from
read_all_results), reads each result file to extract fitted models,
computes VAF for MFA and MPCA, and joins these back to the input data frame.
Value
The input data frame enriched with VAF_MFA and VAF_PCA columns.
If models are not available in a file, VAF values will be NA.
Examples
if (FALSE) { # \dontrun{
df <- read_all_results("results")
df <- compute_ari_vaf_table(df)
head(df)
} # }