Add functionality to subset samples.
add reset sample selection