Functions for identifying genes that capture batch effects but not biological signal, using explicitly supplied cohort/batch labels.