A Multi-Dimensional Clustering Approach for Identifying Inborn Errors of Immunity
Nishad Kulkarni, 1* , Alexandra K. Martinson, 2,5*, Nicholas L. Rider, 3 , Michael Keller, 2,4,5 , Syed Muhammad Anwar, 1,5 · 2026
Read A Multi-Dimensional Clustering Approach for Identifying Inborn Errors of Immunity by Nishad Kulkarni, 1* , Alexandra K. Martinson, 2,5*, Nicholas L. Rider, 3 , Michael Keller, 2,4,5 , Syed Muhammad Anwar, 1,5 (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-18880.txt.
Introduction
Nishad Kulkarni and four colleagues build a pipeline that hunts for patterns of inborn errors of immunity, a group of rare immune disorders, in health records. Early diagnosis matters because delay can damage organs, yet large record sets are hard to gather and clean. Their method turns raw immune lab results from a national registry into vectors, then clusters them to surface disease patterns and features. The work sharpens awareness of these rare conditions and offers reusable tools for studying other rare diseases from messy medical data.
Catalog record
| CREATOR | Nishad Kulkarni, 1* , Alexandra K. Martinson, 2,5*, Nicholas L. Rider, 3 , Michael Keller, 2,4,5 , Syed Muhammad Anwar, 1,5 |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 24949 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2605.18880
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
A Multi-Dimensional Clustering Approach for Identifying Inborn Errors of Immunity Thanks: Funded in part by Immune Deficiency Foundation (IDF) Nishad Kulkarni, 1* , Alexandra K. Martinson, 2,5*, Nicholas L. Rider, 3 , Michael Keller, 2,4,5 , Syed Muhammad Anwar, 1,5 Abstract Rare diseases such as inborn errors of immunity (IEI) require early diagnosis to prevent end organ damage and improve quality of life. Hurdles in accessing and curating large scale electronic health record (EHR) data limit routine data driven analyses to remain on the forefront of IEI and other rare disease trends. Development of machine learning (ML) algorithms in IEI for pattern recognition as well as published methodology examining how to systematically process and integrate complex medical data is limited. Our proposed pipeline, including data curation and ML clustering algorithms, is designed to recognize novel rare disease patterns and extract IEI-associated features from a national data registry. Our methodology for EHR data formatting and processing presents the pipeline that transforms raw immunologic lab data into vectors. This is further combined with hyperparameter tuning for diseases pattern recognition via clustering. This study refines IEI feature awareness, develops data tool kits for rare disease populations analysis, and expands on transforming complex medical records in data structures interpretable by unsupervised ML. 1 Sheikh Zayed Institute for Pediatric Surgical Innovation, Children’s National Hospital, Washington, DC 20010 2 Childrens National Hospital, Washington, DC 3 Department of Health Systems & Implementation Science, Division of Allergy & Immunology Virginia Tech Carilion School of Medicine, Roanoke, VA 4 Division of Allergy & Immunology Childrens National Hospital, Washington, DC 5 School of Medicine and Health Sciences, George Washington University, Washington, DC 20052 * These authors contributed equally to this work and are co-first authors I Introduction The complexity of disease symptoms in patients with rare diseases such as Inborn Errors of Immunity (IEI) results in arriving at the correct diagnosis a prolonged saga across many healthcare visits. Machine Learning (ML) approaches have not yet been commonly applied to the detection or pattern recognition of IEI [1]. We demonstrate the application of unsupervised computational algorithms using laboratory data as a proof of concept for rare disease pattern analysis using a national health data warehouse with large volumes of IEI related electronic health records (EHR) [2]. Hence, our overarching goal is to identify novel disease patterns within IEI. Related Works Prior IEI screening guidelines emphasize the need for pattern recognition of predisposing medical and demographic factors associated with IEI [3-4]. Patients may present over years with seemingly unrelated disorders across health centers. With the rapidly evolving nature of IEIs, it is vital to continuously analyze data for these patients. The current use of clustering, similar to pattern recognition, algorithms has been widely studied on medical imaging with a minority focused on electrocardiogram, flow cytometry, and genomics/proteomics [5-9]. A limited number of groups have worked on ML disease prediction algorithms for IEI diagnosis [8, 10-13]. ML clustering algorithms for pattern recognition in IEI have only focused on flow cytometry immunophenotyping data in a categorical format (low vs. high relative to normal values) [8]. Clustering models on laboratory data beyond flow cytometry have been published infrequently and focused on well known diseases with imputation using the entire dataset and low number of target clusters [14-15]. The use of clustering algorithms for rare disease pattern recognition and subphenotyping on multi-center lab data using disease-based imputation has not been well studied. The goal of our proposed clustering pipeline for IEI pattern recognition is to demonstrate a methodology for transforming complex medical data into clinically interpretable data structures, while taking into account data missingness, normalization of data variety across clinical centers and lab values, and dimensionality reduction. Clustering is performed on measurements of immune system cells that protect against infections such as pneumonia and sepsis, and takes into account age-based subgroup analysis necessary for building algorithms applicable to pediatric populations with rapidly changing immune systems [16-18]. By analyzing patterns in these laboratory tests, we aim to predict IEI subcategories, or sub-phenotypes, not currently labeled in our data. Fig. 1 : Study population and query criteria. Our main contributions are: 1. Demonstration of detailed IEI related data processing steps necessary for clinical data representation into a format interpretable by clustering algorithms. 2. Leveraging centroid-based, density-based, and hierarchical ML clustering algorithms on laboratory data for patients with presumed IEI. 3. Use of unsupervised clustering algorithms to identify IEI disease subgroups that can be further evaluated for new disease subtypes. II Methodology Our proposed methodology to identify clusters related to IEI is presented in the following subsections. Data Identification and Structuring All the data are accessed through the Cerner Real-World Database (CRWD) [2].The patient population for this study includes 5,986 patient lab samples from unique hospital encounters across 2,174 patients (details in Figure 1, Table 1). The patient populations were extracted using disease specific ICD codes for only one of seven (Table I ) IEIs with at least two time stamped disease specific codes separated by a minimum of 90 days. IEIs included in this study included CGD: Chronic Granulomatous Disease, COMB: Combined Immunodeficiency, CVID: Common Variable Immunodeficiency, DGS: DiGeorge Syndrome, LAD: Leukocyte Adhesion Deficiency, AGAMMA: Agammaglobulinemia, and WAS: Wiskott Aldrich Syndrome. The structure of the data is elaborated in Figure 2 . Each individual patient has a single patient ID, one or more encounter IDs, and one or more lab-date IDs. An encounter is when a patient checks into a hospital and may stay there over multiple hours/days. During the ’encounter’ , any set of clinical measurements are performed over one or multiple dates. For instance, a patient could be tested for immune system function (i.e., CD3+ cells, CD19+ cells, etc.) at one time, and might get tested for other labs (i.e., CD3+CD4+ and CD19+) at another date/time. Hence, we end up with different number of occurrences of each clinical test for the given encounter. TABLE I : Unique number of laboratory samples and patients for various IEI diagnoses considered in our curated data. IEI Type Lab Encounters (Unique Patients) CGD - Chronic Granulomatous Disease 314 (102) COMB - Combined Immunodeficiency 664 (157) CVID - Common Variable Immunodeficiency 305 (189) DGS - DiGeorge Syndrome 1237 (753) LAD - Leukocyte Adhesion Deficiency 30 (9) AGAMMA - Agammaglobulinemia 3256 (930) WAS - Wiskott Aldrich Syndrome 138 (34) It is important to note that longer hospital stays can include dozens of laboratory measurements for a patient. To simplify data and portray a progression over a patient’s disease course as opposed to just one clinical encounter, we consider the first occurrence of each available test over a patient’s hospital stay. Thus, each individual sample for clustering consists of an array containing the first recorded instance of each laboratory test during a hospital visit. Only patients that did not have overlapping IEI disease labels were included in this study. The data were divided based on patient age into 6 groups: 0-1 year, 1-2 years, 2-5 years, 5-10 years, 10-16 years and {>} 16 years of age with the maximum age being the non-inclusive limit (Figure 1). The selected age subgroups are based on three major immunology studies detailing age-related changes in lymphocyte subpopulations, which informed the clustering data [16-18]. There is a reasonable