add method to select patients by feature