Description Usage Arguments Details Value
Check consistency of data in a project
1 2 3 4 | check_project(project)
## S3 method for class 'checklist'
print(x, nmax = 50)
|
project |
path to the project directory |
nmax |
maximum number of problematic items to print out (50 by default) |
This function
Reads the metadata table of the project
Lists and reads all dat1.pid files in the work directory
Lists and reads all dat1.tx files in PID_process/Pid_results/Dat1_validated (or Dat1_extracted if the previous one is empty)
Lists all images in the PID_process/Sorted_vignettes directory
Then it
Compares the list of samples in the metadata, dat1.pid, and dat1.txt files
Compares the list of objects in the dat1.pid, dat1.txt files, and present as images (i.e. vignettes)
For images present both in the dat1.txt files and as vignettes, checks that the location of a vignette (its classification) matches the last column in the dat1.txt file
Returns a list (of class check) containing all problematic items (sample or object names) that can be printed with various levels of detail (depending on nmax)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.