Implemented tree view for selection of samples