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

check_sample_type(sample_type)

Arguments

sample_type

Object of class integer expected. Sample type identification.