J Shanghai Jiaotong Univ Sci ›› 2025, Vol. 30 ›› Issue (4): 744-750.doi: 10.1007/s12204-024-2706-3

• • 上一篇    下一篇

SleepyFlyR:一种用于果蝇睡眠和活动分析的R包

  

  1. 上海交通大学 Bio-X研究院;教育部遗传发育与精神疾病重点实验室,上海200240
  • 收稿日期:2023-04-26 接受日期:2023-06-27 发布日期:2025-07-31

SleepyFlyR: An R Package for Sleep and Activity Analysis in Drosophila

牟杨,平勇   

  1. Bio-X Institutes; Key Laboratory for the Genetics of Developmental and Neuropsychiatric Disorders (Ministry of Education), Shanghai Jiao Tong University, Shanghai 200240, China
  • Received:2023-04-26 Accepted:2023-06-27 Published:2025-07-31

摘要: 黑腹果蝇被广泛用于睡眠和节律的研究。在众多研究果蝇睡眠行为的工具中,果蝇活动监测(DAM)系统凭借其简单且高效的特点被全世界的研究人员所认可。基于DAM系统生成的简单数据,研究人员可以从中分析出大量描述睡眠和节律的参数。但是,现有的DAM数据分析软件只覆盖了部分参数,而且无法提供详细的个体数据以便用户使用其他绘图软件进行分析。因此我们开发了SleepyFlyR,其特点包括:(1)简单易用并且附带UI文本,方便用户进行操作;(2)提供全面的果蝇睡眠与活动分析,涵盖多种参数;(3)生成睡眠和活动的活动度图;(4)绘制多天平均或者单天的睡眠与活动曲线;(5)给定实验组天数与对照组天数,计算睡眠与活动参数的变化量;(6)分析结果同时包括总结数据和详细的个体数据,且结果文件会根据用户的设置自适应命名。

关键词: 黑腹果蝇,睡眠,R包,果蝇活动监测系统,行为学分析

Abstract: Drosophila melanogaster has been a popular model organism in the study of sleep and circadian rhythm. The Drosophila activity monitoring (DAM) system is one of the many tools developed for investigating sleep behavior in fruit flies and has been acknowledged by researchers around the world for its simplicity and cost-effectiveness. Based on the simple activity data collected by the DAM system, a wide range of parameters can be generated for sleep and circadian studies. However, current programs that analyze DAM data cover a limited number of metrics and fail to provide individual data for the user to plot graphs and conduct analysis using other software. Therefore, we have developed SleepyFlyR, an R package that: (1) is simple and easy to use with a user-friendly user interface script; (2) provides a comprehensive analysis of sleep and activity parameters; (3) generates double-plotted graphs for sleep and activity patterns; (4) offers visualization of sleep and activity profiles across multiple days or within a single day; (5) calculates the changes of sleep and activity parameters between baseline and experiment; (6) stores both summary data and individual data in files with unique title.

Key words: Drosophila melanogaster, sleep, R package, Drosophila activity monitoring (DAM) system, behavioral analysis

中图分类号: