Diagnosis of hair follicles