Check if the item "sample_quality" have one unique class identified as integer and if all values are 1, 2, 3, 4 or 9.

check_sample_quality(sample_quality)

Arguments

sample_quality

Object of class integer expected. Sample quality identification.