added function to select subset of samples defined by user
added subsetting sample capability