name_in_data the names used in the raw data to locate these measurements
template a mapping from patho to cause_list.
NROW = length(cause_list)+1;
NCOL = length(patho). This value is crucial in model fitting to determine
which measurements are informative of a particular category of latent status.
specimen same as argument
test same as argument
nm_spec_test paste specimen and test together
Arguments
patho
A vector of pathogen names
specimen
Specimen name
test
Test name
quality
Quality category: any of "BrS", "SS" or "GS".
cause_list
The vector of potential latent status
sep_char
a character string that separate the pathogen names and the
specimen-test pair; Default to "_"