Function 'subsetDS' added.