Discovering transcriptional signatures of disease for diagnosis versus mechanism