start of thresholding code
Make keyfile optional for NanostringAssay constructor