RESUMO
As digital phenotyping, the capture of active and passive data from consumer devices such as smartphones, becomes more common, the need to properly process the data and derive replicable features from it has become paramount. Cortex is an open-source data processing pipeline for digital phenotyping data, optimized for use with the mindLAMP apps, which is used by nearly 100 research teams across the world. Cortex is designed to help teams (1) assess digital phenotyping data quality in real time, (2) derive replicable clinical features from the data, and (3) enable easy-to-share data visualizations. Cortex offers many options to work with digital phenotyping data, although some common approaches are likely of value to all teams using it. This paper highlights the reasoning, code, and example steps necessary to fully work with digital phenotyping data in a streamlined manner. Covering how to work with the data, assess its quality, derive features, and visualize findings, this paper is designed to offer the reader the knowledge and skills to apply toward analyzing any digital phenotyping data set. More specifically, the paper will teach the reader the ins and outs of the Cortex Python package. This includes background information on its interaction with the mindLAMP platform, some basic commands to learn what data can be pulled and how, and more advanced use of the package mixed with basic Python with the goal of creating a correlation matrix. After the tutorial, different use cases of Cortex are discussed, along with limitations. Toward highlighting clinical applications, this paper also provides 3 easy ways to implement examples of Cortex use in real-world settings. By understanding how to work with digital phenotyping data and providing ready-to-deploy code with Cortex, the paper aims to show how the new field of digital phenotyping can be both accessible to all and rigorous in methodology.
Assuntos
Fenótipo , Software , Humanos , Biomarcadores , Visualização de DadosRESUMO
INTRODUCTION: Clinical assessment of mood and anxiety change often relies on clinical assessment or self-reported scales. Using smartphone digital phenotyping data and resulting markers of behavior (e.g., sleep) to augment clinical symptom scores offers a scalable and potentially more valid method to understand changes in patients' state. This paper explores the potential of using a combination of active and passive sensors in the context of smartphone-based digital phenotyping to assess mood and anxiety changes in two distinct cohorts of patients to assess the preliminary reliability and validity of this digital phenotyping method. METHODS: Participants from two different cohorts, each n = 76, one with diagnoses of depression/anxiety and the other schizophrenia, utilized mindLAMP to collect active data (e.g., surveys on mood/anxiety), along with passive data consisting of smartphone digital phenotyping data (geolocation, accelerometer, and screen state) for at least 1 month. Using anomaly detection algorithms, we assessed if statistical anomalies in the combination of active and passive data could predict changes in mood/anxiety scores as measured via smartphone surveys. RESULTS: The anomaly detection model was reliably able to predict symptom change of 4 points or greater for depression as measured by the PHQ-9 and anxiety as measured for the GAD-8 for both patient populations, with an area under the ROC curve of 0.65 and 0.80 for each respectively. For both PHQ-9 and GAD-7, these AUCs were maintained when predicting significant symptom change at least 7 days in advance. Active data alone predicted around 52% and 75% of the symptom variability for the depression/anxiety and schizophrenia populations respectively. CONCLUSION: These results indicate the feasibility of anomaly detection for predicting symptom change in transdiagnostic cohorts. These results across different patient groups, different countries, and different sites (India and the US) suggest anomaly detection of smartphone digital phenotyping data may offer a reliable and valid approach to predicting symptom change. Future work should emphasize prospective application of these statistical methods.
RESUMO
BACKGROUND: In the burgeoning area of clinical digital phenotyping research, there is a dearth of literature that details methodology, including the key challenges and dilemmas in developing and implementing a successful architecture for technological infrastructure, patient engagement, longitudinal study participation, and successful reporting and analysis of diverse passive and active digital data streams. OBJECTIVE: This article provides a narrative rationale for our study design in the context of the current evidence base and best practices, with an emphasis on our initial lessons learned from the implementation challenges and successes of this digital phenotyping study. METHODS: We describe the design and implementation approach for a digital phenotyping pilot feasibility study with attention to synthesizing key literature and the reasoning for pragmatic adaptations in implementing a multisite study encompassing distinct geographic and population settings. This methodology was used to recruit patients as study participants with a clinician-validated diagnostic history of unipolar depression, bipolar I disorder, or bipolar II disorder, or healthy controls in 2 geographically distinct health care systems for a longitudinal digital phenotyping study of mood disorders. RESULTS: We describe the feasibility of a multisite digital phenotyping pilot study for patients with mood disorders in terms of passively and actively collected phenotyping data quality and enrollment of patients. Overall data quality (assessed as the amount of sensor data obtained vs expected) was high compared to that in related studies. Results were reported on the relevant demographic features of study participants, revealing recruitment properties of age (mean subgroup age ranged from 31 years in the healthy control subgroup to 38 years in the bipolar I disorder subgroup), sex (predominance of female participants, with 7/11, 64% females in the bipolar II disorder subgroup), and smartphone operating system (iOS vs Android; iOS ranged from 7/11, 64% in the bipolar II disorder subgroup to 29/32, 91% in the healthy control subgroup). We also described implementation considerations around digital phenotyping research for mood disorders and other psychiatric conditions. CONCLUSIONS: Digital phenotyping in affective disorders is feasible on both Android and iOS smartphones, and the resulting data quality using an open-source platform is higher than that in comparable studies. While the digital phenotyping data quality was independent of gender and race, the reported demographic features of study participants revealed important information on possible selection biases that may result from naturalistic research in this domain. We believe that the methodology described will be readily reproducible and generalizable to other study settings and patient populations given our data on deployment at 2 unique sites.
Assuntos
Transtorno Bipolar , Transtornos do Humor , Humanos , Feminino , Adulto , Masculino , Transtornos do Humor/diagnóstico , Estudos de Viabilidade , Projetos Piloto , Estudos Longitudinais , Transtorno Bipolar/diagnósticoRESUMO
Sleep is fundamental to all health, especially mental health. Monitoring sleep is thus critical to delivering effective healthcare. However, measuring sleep in a scalable way remains a clinical challenge because wearable sleep-monitoring devices are not affordable or accessible to the majority of the population. However, as consumer devices like smartphones become increasingly powerful and accessible in the United States, monitoring sleep using smartphone patterns offers a feasible and scalable alternative to wearable devices. In this study, we analyze the sleep behavior of 67 college students with elevated levels of stress over 28 days. While using the open-source mindLAMP smartphone app to complete daily and weekly sleep and mental health surveys, these participants also passively collected phone sensor data. We used these passive sensor data streams to estimate sleep duration. These sensor-based sleep duration estimates, when averaged for each participant, were correlated with self-reported sleep duration (r = 0.83). We later constructed a simple predictive model using both sensor-based sleep duration estimates and surveys as predictor variables. This model demonstrated the ability to predict survey-reported Pittsburgh Sleep Quality Index (PSQI) scores within 1 point. Overall, our results suggest that smartphone-derived sleep duration estimates offer practical results for estimating sleep duration and can also serve useful functions in the process of digital phenotyping.