Skip to main content
. Author manuscript; available in PMC: 2023 Dec 18.
Published in final edited form as: J Am Stat Assoc. 2019 Dec 9;115(532):1620–1634. doi: 10.1080/01621459.2019.1686985

Fig. 1.

Fig. 1

Heatmap of blood test data. In Panel (a), the correlation structure of the testing items is shown with green, black, and red colors indicating positive, negligible and negative correlations. Diagonal entries are set to 0. In Panels (b), (c) and (d), the rows and columns are ordered according to K-means with K=14. The columns are the testing items and the rows are patients. In Panel (b), the EHR data is standardized. Green, black and red colors represent values above, near and below the average or the midpoint. In Panel (c), the EHR data is transformed to a categorical matrix based on a trichotomization with respect to a reference range. Green, black and red colors indicate above, within, below the range, respectively. In panel (d), the EHR data is scaled and centered at the midpoint of the reference range (the order of rows and columns is the same as in Panel (c)).