test_pca: Test PCA predictions with access to the truth

Description Usage Arguments Value

View source: R/output.R

Description

Read the true PCs from a file and compare this to our predicted PCs, for error checking.

Usage

1
test_pca(testfile, pred, outfile = NULL, verbose = TRUE)

Arguments

testfile

file conmtaining the truth

pred

The predicted PCs

outfile

optional; the file that writepred would use; the outut is written to <outfile>.comparison

verbose

Whetyher output commentry on the tests

Value

a list of the intermediate values, invisibly. You want the $fullres element which is also written to file.


danjlawson/pcapred documentation built on Oct. 7, 2021, 3:47 p.m.