updates subset function to work with sampleNames containing "."