Evaluates how well each latent variable in a CLAMP model captures
held-out pathway annotations, using cross-validation over the prior
matrix. For each latent variable and associated pathway, held-out genes
are selected and the AUC is computed using their scores in
clampRes$Z.
crossVal(clampRes, priorMat, priorMatcv)A list with:
UaucMatrix of AUC values (pathways x LVs)
UpvalMatrix of -log10(p) values (pathways x LVs)
summaryData frame with pathway, LV index, AUC, p-value, and FDR