Fly Bowl Glossary




Behavior statistic terms

Line-level behavior statistic: Statistics describing the behavior across frames, flies, and videos collected of a given GAL4 line. They are computed by combining and averaging per-frame features and behavior classifications. Example line-level behavior statistics include the fraction of time the flies spent walking, the average speed of the flies and the average speed of the flies while walking. These statistics were hand-engineered without looking at the results of the screen, and included measures we hypothesized might be independently modulated. We obtained line-level statistics by averaging in a manner chosen to account for the strengths of dependencies: the ~4 videos recorded simultaneously from the same cohort were more similar than the ~2 biological replicates of the same line recorded at different times of the year

Per-frame feature: A hand-engineered feature computed from the flies' trajectories that captures behaviorally-relevant, continuous properties of the flies' instantaneous poses and movements in each frame, such as the instantaneous speed, the distance to the closest fly, and the angle between the two wings.

Behavior classifications: Output of our automatic behavior classifiers on each frame.

Frame conditions: Conditions on which frames to combine to compute line-level behavior statistics.

Fly conditions: Conditions on which trajectories to combine to compute line-level behavior statistics.




Line-level behavior statistics

attemptedcopulation: Fraction of time flies' behavior is classified as attemptedcopulation.

backup: Fraction of time flies' behavior is classified as backup.

chase: Fraction of time flies' behavior is classified as chase.

copulation: Fraction of time flies' behavior is classified as copulation.

crabwalkextreme: Fraction of time flies' behavior is classified as crabwalkextreme.

jump: Fraction of time flies' behavior is classified as jump.

notanybehavior: Fraction of time flies' behavior is classified as notanybehavior.
notanybehavior: Frames in which the flies are not detected as performing any of the 15 behaviors for which we have trained classifiers.

pivotcenter: Fraction of time flies' behavior is classified as pivotcenter.

pivottail: Fraction of time flies' behavior is classified as pivottail.

righting: Fraction of time flies' behavior is classified as righting.

stop: Fraction of time flies' behavior is classified as stop.

touch: Fraction of time flies' behavior is classified as touch.

walk: Fraction of time flies' behavior is classified as walk.

wingextension: Fraction of time flies' behavior is classified as wingextension.

wingflick: Fraction of time flies' behavior is classified as wingflick.

winggrooming: Fraction of time flies' behavior is classified as winggrooming.

chase_notwingextension: Fraction of time flies' behavior is classified as chase and not wingextension.

stop_notwinggrooming: Fraction of time flies' behavior is classified as stop and not winggrooming.

touch_notchase: Fraction of time flies' behavior is classified as touch and not chase.

wingextension_notchase: Fraction of time flies' behavior is classified as wingextension and not chase.

backup_nearfly: Fraction of time flies' behavior is classified as backup and nearfly.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

backup_nearwall: Fraction of time flies' behavior is classified as backup and nearwall.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

backup_notnearfly_notnearwall: Fraction of time flies' behavior is classified as backup and notnearfly and notnearwall.
notnearfly: Center-center distance to the closest fly (dcenter) is at least 6.5mm.
notnearwall: Distance to the arena wall (dist2wall) is at least 15mm.

crabwalkextreme_nearfly: Fraction of time flies' behavior is classified as crabwalkextreme and nearfly.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

crabwalkextreme_nearwall: Fraction of time flies' behavior is classified as crabwalkextreme and nearwall.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

crabwalkextreme_notnearfly_notnearwall: Fraction of time flies' behavior is classified as crabwalkextreme and notnearfly and notnearwall.
notnearfly: Center-center distance to the closest fly (dcenter) is at least 6.5mm.
notnearwall: Distance to the arena wall (dist2wall) is at least 15mm.

jump_nearfly: Fraction of time flies' behavior is classified as jump and nearfly.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

jump_nearwall: Fraction of time flies' behavior is classified as jump and nearwall.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

jump_notnearfly_notnearwall: Fraction of time flies' behavior is classified as jump and notnearfly and notnearwall.
notnearfly: Center-center distance to the closest fly (dcenter) is at least 6.5mm.
notnearwall: Distance to the arena wall (dist2wall) is at least 15mm.

move_nearfly: Fraction of time flies' behavior is classified as move and nearfly.
move: Frames in which the flies are not detected to be stopped.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

move_nearwall: Fraction of time flies' behavior is classified as move and nearwall.
move: Frames in which the flies are not detected to be stopped.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

move_notnearfly_notnearwall: Fraction of time flies' behavior is classified as move and notnearfly and notnearwall.
move: Frames in which the flies are not detected to be stopped.
notnearfly: Center-center distance to the closest fly (dcenter) is at least 6.5mm.
notnearwall: Distance to the arena wall (dist2wall) is at least 15mm.

pivotcenter_nearfly: Fraction of time flies' behavior is classified as pivotcenter and nearfly.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

pivotcenter_nearwall: Fraction of time flies' behavior is classified as pivotcenter and nearwall.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

pivotcenter_notnearfly_notnearwall: Fraction of time flies' behavior is classified as pivotcenter and notnearfly and notnearwall.
notnearfly: Center-center distance to the closest fly (dcenter) is at least 6.5mm.
notnearwall: Distance to the arena wall (dist2wall) is at least 15mm.

pivottail_nearfly: Fraction of time flies' behavior is classified as pivottail and nearfly.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

pivottail_nearwall: Fraction of time flies' behavior is classified as pivottail and nearwall.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

pivottail_notnearfly_notnearwall: Fraction of time flies' behavior is classified as pivottail and notnearfly and notnearwall.
notnearfly: Center-center distance to the closest fly (dcenter) is at least 6.5mm.
notnearwall: Distance to the arena wall (dist2wall) is at least 15mm.

righting_nearfly: Fraction of time flies' behavior is classified as righting and nearfly.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

righting_nearwall: Fraction of time flies' behavior is classified as righting and nearwall.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

righting_notnearfly_notnearwall: Fraction of time flies' behavior is classified as righting and notnearfly and notnearwall.
notnearfly: Center-center distance to the closest fly (dcenter) is at least 6.5mm.
notnearwall: Distance to the arena wall (dist2wall) is at least 15mm.

stop_nearfly: Fraction of time flies' behavior is classified as stop and nearfly.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

stop_nearwall: Fraction of time flies' behavior is classified as stop and nearwall.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

stop_notnearfly_notnearwall: Fraction of time flies' behavior is classified as stop and notnearfly and notnearwall.
notnearfly: Center-center distance to the closest fly (dcenter) is at least 6.5mm.
notnearwall: Distance to the arena wall (dist2wall) is at least 15mm.

walk_nearfly: Fraction of time flies' behavior is classified as walk and nearfly.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

walk_nearwall: Fraction of time flies' behavior is classified as walk and nearwall.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

walk_notnearfly_notnearwall: Fraction of time flies' behavior is classified as walk and notnearfly and notnearwall.
notnearfly: Center-center distance to the closest fly (dcenter) is at least 6.5mm.
notnearwall: Distance to the arena wall (dist2wall) is at least 15mm.

backup_female: Fraction of time female flies' behavior is classified as backup.

chase_female: Fraction of time female flies' behavior is classified as chase.

crabwalkextreme_female: Fraction of time female flies' behavior is classified as crabwalkextreme.

jump_female: Fraction of time female flies' behavior is classified as jump.

pivotcenter_female: Fraction of time female flies' behavior is classified as pivotcenter.

pivottail_female: Fraction of time female flies' behavior is classified as pivottail.

righting_female: Fraction of time female flies' behavior is classified as righting.

stop_female: Fraction of time female flies' behavior is classified as stop.

touch_female: Fraction of time female flies' behavior is classified as touch.

walk_female: Fraction of time female flies' behavior is classified as walk.

wingflick_female: Fraction of time female flies' behavior is classified as wingflick.

winggrooming_female: Fraction of time female flies' behavior is classified as winggrooming.

attemptedcopulation_male: Fraction of time male flies' behavior is classified as attemptedcopulation.

backup_male: Fraction of time male flies' behavior is classified as backup.

chase_male: Fraction of time male flies' behavior is classified as chase.

crabwalkextreme_male: Fraction of time male flies' behavior is classified as crabwalkextreme.

jump_male: Fraction of time male flies' behavior is classified as jump.

pivotcenter_male: Fraction of time male flies' behavior is classified as pivotcenter.

pivottail_male: Fraction of time male flies' behavior is classified as pivottail.

righting_male: Fraction of time male flies' behavior is classified as righting.

stop_male: Fraction of time male flies' behavior is classified as stop.

touch_male: Fraction of time male flies' behavior is classified as touch.

walk_male: Fraction of time male flies' behavior is classified as walk.

wingextension_male: Fraction of time male flies' behavior is classified as wingextension.

wingflick_male: Fraction of time male flies' behavior is classified as wingflick.

winggrooming_male: Fraction of time male flies' behavior is classified as winggrooming.

absangle2wall_move: Average absangle2wall for all flies and frames classified as move.
absangle2wall: Absolute value of angle to closest point on the arena wall from animal's center, relative to the animal's orientation.
move: Frames in which the flies are not detected to be stopped.

absangle2wall_nearwall: Average absangle2wall for all flies and frames classified as nearwall.
absangle2wall: Absolute value of angle to closest point on the arena wall from animal's center, relative to the animal's orientation.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

absangle2wall_stop: Average absangle2wall for all flies and frames classified as stop.
absangle2wall: Absolute value of angle to closest point on the arena wall from animal's center, relative to the animal's orientation.

absanglefrom1to2_nose2ell_nearfly: Average absanglefrom1to2_nose2ell for all flies and frames classified as nearfly.
absanglefrom1to2_nose2ell: Absolute difference between direction to closest fly based on dnose2ell (closestfly_nose2ell_t) and current animal's orientation.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

absanglefrom1to2_nose2ell_stop_nearfly: Average absanglefrom1to2_nose2ell for all flies and frames classified as stop and nearfly.
absanglefrom1to2_nose2ell: Absolute difference between direction to closest fly based on dnose2ell (closestfly_nose2ell_t) and current animal's orientation.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

absanglefrom1to2_nose2ell_touch: Average absanglefrom1to2_nose2ell for all flies and frames classified as touch.
absanglefrom1to2_nose2ell: Absolute difference between direction to closest fly based on dnose2ell (closestfly_nose2ell_t) and current animal's orientation.

absdangle2wall_nearwall: Average absdangle2wall for all flies and frames classified as nearwall.
absdangle2wall: Absolute value of change in angle to closest point on the arena wall to animal's center, relative to the animal's orientation.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

absdtheta: Average absdtheta for all flies and all frames.
absdtheta: Absolute change in orientation from frame t to t+1.

absdtheta_pivotcenter: Average absdtheta for all flies and frames classified as pivotcenter.
absdtheta: Absolute change in orientation from frame t to t+1.

absdtheta_pivottail: Average absdtheta for all flies and frames classified as pivottail.
absdtheta: Absolute change in orientation from frame t to t+1.

absdtheta_walk: Average absdtheta for all flies and frames classified as walk.
absdtheta: Absolute change in orientation from frame t to t+1.

absdv_cor_crabwalkextreme: Average absdv_cor for all flies and frames classified as crabwalkextreme.
absdv_cor: Sideways speed of the animal's center of rotation. This is the absolute value of the projection of the velocity of the center of rotation on onto the direction orthogonal to the animal's orientation.

absdv_cor_move: Average absdv_cor for all flies and frames classified as move.
absdv_cor: Sideways speed of the animal's center of rotation. This is the absolute value of the projection of the velocity of the center of rotation on onto the direction orthogonal to the animal's orientation.
move: Frames in which the flies are not detected to be stopped.

absdv_cor_nearfly: Average absdv_cor for all flies and frames classified as nearfly.
absdv_cor: Sideways speed of the animal's center of rotation. This is the absolute value of the projection of the velocity of the center of rotation on onto the direction orthogonal to the animal's orientation.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

absdv_cor_nearwall: Average absdv_cor for all flies and frames classified as nearwall.
absdv_cor: Sideways speed of the animal's center of rotation. This is the absolute value of the projection of the velocity of the center of rotation on onto the direction orthogonal to the animal's orientation.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

absdv_cor_notnearfly_notnearwall: Average absdv_cor for all flies and frames classified as notnearfly and notnearwall.
absdv_cor: Sideways speed of the animal's center of rotation. This is the absolute value of the projection of the velocity of the center of rotation on onto the direction orthogonal to the animal's orientation.
notnearfly: Center-center distance to the closest fly (dcenter) is at least 6.5mm.
notnearwall: Distance to the arena wall (dist2wall) is at least 15mm.

absdv_cor_walk: Average absdv_cor for all flies and frames classified as walk.
absdv_cor: Sideways speed of the animal's center of rotation. This is the absolute value of the projection of the velocity of the center of rotation on onto the direction orthogonal to the animal's orientation.

absphidiff_nose2ell_chase_male: Average absphidiff_nose2ell for male flies and frames classified as chase.
absphidiff_nose2ell: Absolute difference in velocity direction between the current fly and the closest fly based on dnose2ell (closestfly_nose2ell_t).

absthetadiff_nose2ell_nearfly: Average absthetadiff_nose2ell for all flies and frames classified as nearfly.
absthetadiff_nose2ell: Absolute difference in orientation between the current fly and the closest fly based on dnose2ell (closestfly_nose2ell_t).
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

absthetadiff_nose2ell_touch: Average absthetadiff_nose2ell for all flies and frames classified as touch.
absthetadiff_nose2ell: Absolute difference in orientation between the current fly and the closest fly based on dnose2ell (closestfly_nose2ell_t).

absthetadiff_nose2ell_touch_female: Average absthetadiff_nose2ell for female flies and frames classified as touch.
absthetadiff_nose2ell: Absolute difference in orientation between the current fly and the closest fly based on dnose2ell (closestfly_nose2ell_t).

absthetadiff_nose2ell_touch_male: Average absthetadiff_nose2ell for male flies and frames classified as touch.
absthetadiff_nose2ell: Absolute difference in orientation between the current fly and the closest fly based on dnose2ell (closestfly_nose2ell_t).

absthetadiff_nose2ell_nearfly_female: Average absthetadiff_nose2ell for female flies and frames classified as nearfly.
absthetadiff_nose2ell: Absolute difference in orientation between the current fly and the closest fly based on dnose2ell (closestfly_nose2ell_t).
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

absthetadiff_nose2ell_nearfly_male: Average absthetadiff_nose2ell for male flies and frames classified as nearfly.
absthetadiff_nose2ell: Absolute difference in orientation between the current fly and the closest fly based on dnose2ell (closestfly_nose2ell_t).
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

absthetadiff_nose2ell_chase_male: Average absthetadiff_nose2ell for male flies and frames classified as chase.
absthetadiff_nose2ell: Absolute difference in orientation between the current fly and the closest fly based on dnose2ell (closestfly_nose2ell_t).

absthetadiff_nose2ell_wingextension_male: Average absthetadiff_nose2ell for male flies and frames classified as wingextension.
absthetadiff_nose2ell: Absolute difference in orientation between the current fly and the closest fly based on dnose2ell (closestfly_nose2ell_t).

absyaw_move: Average absyaw for all flies and frames classified as move.
absyaw: Absolute value of difference between velocity direction and orientation.
move: Frames in which the flies are not detected to be stopped.

angleonclosestfly_nearfly: Average angleonclosestfly for all flies and frames classified as nearfly.
angleonclosestfly: Point along the ellipse of another fly closest to the nose of the current fly. The closest fly is denoted closestfly_nose2ell_t. The points along the ellipse are parameterized by angle, with 0 corresponding to the forward tip of the ellipse and -π corresponding to the backward tip.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

angleonclosestfly_stop_nearfly: Average angleonclosestfly for all flies and frames classified as stop and nearfly.
angleonclosestfly: Point along the ellipse of another fly closest to the nose of the current fly. The closest fly is denoted closestfly_nose2ell_t. The points along the ellipse are parameterized by angle, with 0 corresponding to the forward tip of the ellipse and -π corresponding to the backward tip.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

angleonclosestfly_touch: Average angleonclosestfly for all flies and frames classified as touch.
angleonclosestfly: Point along the ellipse of another fly closest to the nose of the current fly. The closest fly is denoted closestfly_nose2ell_t. The points along the ellipse are parameterized by angle, with 0 corresponding to the forward tip of the ellipse and -π corresponding to the backward tip.

angleonclosestfly_nearfly_female: Average angleonclosestfly for female flies and frames classified as nearfly.
angleonclosestfly: Point along the ellipse of another fly closest to the nose of the current fly. The closest fly is denoted closestfly_nose2ell_t. The points along the ellipse are parameterized by angle, with 0 corresponding to the forward tip of the ellipse and -π corresponding to the backward tip.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

angleonclosestfly_touch_female: Average angleonclosestfly for female flies and frames classified as touch.
angleonclosestfly: Point along the ellipse of another fly closest to the nose of the current fly. The closest fly is denoted closestfly_nose2ell_t. The points along the ellipse are parameterized by angle, with 0 corresponding to the forward tip of the ellipse and -π corresponding to the backward tip.

angleonclosestfly_chase_male: Average angleonclosestfly for male flies and frames classified as chase.
angleonclosestfly: Point along the ellipse of another fly closest to the nose of the current fly. The closest fly is denoted closestfly_nose2ell_t. The points along the ellipse are parameterized by angle, with 0 corresponding to the forward tip of the ellipse and -π corresponding to the backward tip.

angleonclosestfly_nearfly_male: Average angleonclosestfly for male flies and frames classified as nearfly.
angleonclosestfly: Point along the ellipse of another fly closest to the nose of the current fly. The closest fly is denoted closestfly_nose2ell_t. The points along the ellipse are parameterized by angle, with 0 corresponding to the forward tip of the ellipse and -π corresponding to the backward tip.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

angleonclosestfly_touch_male: Average angleonclosestfly for male flies and frames classified as touch.
angleonclosestfly: Point along the ellipse of another fly closest to the nose of the current fly. The closest fly is denoted closestfly_nose2ell_t. The points along the ellipse are parameterized by angle, with 0 corresponding to the forward tip of the ellipse and -π corresponding to the backward tip.

angleonclosestfly_wingextension_male: Average angleonclosestfly for male flies and frames classified as wingextension.
angleonclosestfly: Point along the ellipse of another fly closest to the nose of the current fly. The closest fly is denoted closestfly_nose2ell_t. The points along the ellipse are parameterized by angle, with 0 corresponding to the forward tip of the ellipse and -π corresponding to the backward tip.

anglesub: Average anglesub for all flies and all frames.
anglesub: Maximum total angle of animal's field of view (fov) occluded by another animal. The parameter fov was set to π radians.

corfrac_maj_pivotcenter: Average corfrac_maj for all flies and frames classified as pivotcenter.
corfrac_maj: Projection of the center of rotation (the point within the fit ellipse that translates least from frame t to t+1) on the animal's major axis. It is 0 at the center of the animal, 1 at the forward tip of the major axis, and -1 and the backward tip of the major axis.

corfrac_maj_pivottail: Average corfrac_maj for all flies and frames classified as pivottail.
corfrac_maj: Projection of the center of rotation (the point within the fit ellipse that translates least from frame t to t+1) on the animal's major axis. It is 0 at the center of the animal, 1 at the forward tip of the major axis, and -1 and the backward tip of the major axis.

dangle2wall_nearwall: Average dangle2wall for all flies and frames classified as nearwall.
dangle2wall: Change in the angle to closest point on the arena wall to animal's center, relative to the animal's orientation.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

danglesub_nearfly: Average danglesub for all flies and frames classified as nearfly.
danglesub: Change in maximum total angle of animal's view occluded by another animal.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

darea: Average darea for all flies and all frames.
darea: Change in area from frame t to t+1.

dcenter: Average dcenter for all flies and all frames.
dcenter: Minimum distance from the center of this fly to the center of another fly.

dcenter_move: Average dcenter for all flies and frames classified as move.
dcenter: Minimum distance from the center of this fly to the center of another fly.
move: Frames in which the flies are not detected to be stopped.

dcenter_wingflick: Average dcenter for all flies and frames classified as wingflick.
dcenter: Minimum distance from the center of this fly to the center of another fly.

dcenter_stop: Average dcenter for all flies and frames classified as stop.
dcenter: Minimum distance from the center of this fly to the center of another fly.

dcenter_female: Average dcenter for female flies and all frames.
dcenter: Minimum distance from the center of this fly to the center of another fly.

dcenter_male: Average dcenter for male flies and all frames.
dcenter: Minimum distance from the center of this fly to the center of another fly.

ddcenter_nearfly: Average ddcenter for all flies and frames classified as nearfly.
ddcenter: Change in minimum distance between this animal's center and other flies' centers.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

ddist2wall_nearwall: Average ddist2wall for all flies and frames classified as nearwall.
ddist2wall: Change in the distance to arena wall.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

ddnose2ell_nearfly: Average ddnose2ell for all flies and frames classified as nearfly.
ddnose2ell: Change in minimum distance between this fly's nose and other flies' ellipses.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

ddnose2ell_chase_male: Average ddnose2ell for male flies and frames classified as chase.
ddnose2ell: Change in minimum distance between this fly's nose and other flies' ellipses.

dell2nose: Average dell2nose for all flies and all frames.
dell2nose: Minimum distance from any point of this fly's ellipse to the nose of other flies.

dell2nose_male: Average dell2nose for male flies and all frames.
dell2nose: Minimum distance from any point of this fly's ellipse to the nose of other flies.

dell2nose_female: Average dell2nose for female flies and all frames.
dell2nose: Minimum distance from any point of this fly's ellipse to the nose of other flies.

dell2nose_wingflick: Average dell2nose for all flies and frames classified as wingflick.
dell2nose: Minimum distance from any point of this fly's ellipse to the nose of other flies.

dist2wall: Average dist2wall for all flies and all frames.
dist2wall: Distance to the arena wall from the animal's center.

dist2wall_move: Average dist2wall for all flies and frames classified as move.
dist2wall: Distance to the arena wall from the animal's center.
move: Frames in which the flies are not detected to be stopped.

dist2wall_stop: Average dist2wall for all flies and frames classified as stop.
dist2wall: Distance to the arena wall from the animal's center.

dist2wall_walk: Average dist2wall for all flies and frames classified as walk.
dist2wall: Distance to the arena wall from the animal's center.

dist2wall_female: Average dist2wall for female flies and all frames.
dist2wall: Distance to the arena wall from the animal's center.

dist2wall_male: Average dist2wall for male flies and all frames.
dist2wall: Distance to the arena wall from the animal's center.

dmax_wing_angle: Average dmax_wing_angle for all flies and all frames.
dmax_wing_angle: Change in the angle of the larger wing angle.

dnose2ell_angle_30tomin30: Average dnose2ell_angle_30tomin30 for all flies and all frames.
dnose2ell_angle_minXtoX: Minimum distance from this animal's nose to the ellipse of other flies. The distance to flies that lie outside the cone of -X degrees to X degrees are multplied by a factor greater than 1 dependent on the angle. We compute this feature for X = 20 and X = 30.

dnose2ell_angle_30tomin30_female: Average dnose2ell_angle_30tomin30 for female flies and all frames.
dnose2ell_angle_minXtoX: Minimum distance from this animal's nose to the ellipse of other flies. The distance to flies that lie outside the cone of -X degrees to X degrees are multplied by a factor greater than 1 dependent on the angle. We compute this feature for X = 20 and X = 30.

dnose2ell_angle_30tomin30_male: Average dnose2ell_angle_30tomin30 for male flies and all frames.
dnose2ell_angle_minXtoX: Minimum distance from this animal's nose to the ellipse of other flies. The distance to flies that lie outside the cone of -X degrees to X degrees are multplied by a factor greater than 1 dependent on the angle. We compute this feature for X = 20 and X = 30.

dnose2ell: Average dnose2ell for all flies and all frames.
dnose2ell: Minimum distance from this fly's nose, (x_nose_t,y_nose_t) to any point of the ellipse of other flies.

dnose2ell_stop: Average dnose2ell for all flies and frames classified as stop.
dnose2ell: Minimum distance from this fly's nose, (x_nose_t,y_nose_t) to any point of the ellipse of other flies.

dnose2ell_touch: Average dnose2ell for all flies and frames classified as touch.
dnose2ell: Minimum distance from this fly's nose, (x_nose_t,y_nose_t) to any point of the ellipse of other flies.

dnose2ell_walk: Average dnose2ell for all flies and frames classified as walk.
dnose2ell: Minimum distance from this fly's nose, (x_nose_t,y_nose_t) to any point of the ellipse of other flies.

dnose2ell_female: Average dnose2ell for female flies and all frames.
dnose2ell: Minimum distance from this fly's nose, (x_nose_t,y_nose_t) to any point of the ellipse of other flies.

dnose2ell_male: Average dnose2ell for male flies and all frames.
dnose2ell: Minimum distance from this fly's nose, (x_nose_t,y_nose_t) to any point of the ellipse of other flies.

dnose2tail: Average dnose2tail for all flies and all frames.
dnose2tail: Minimum distance from this animal's nose to the tail of other flies.

dnose2tail_move: Average dnose2tail for all flies and frames classified as move.
dnose2tail: Minimum distance from this animal's nose to the tail of other flies.
move: Frames in which the flies are not detected to be stopped.

dnose2tail_female: Average dnose2tail for female flies and all frames.
dnose2tail: Minimum distance from this animal's nose to the tail of other flies.

dnose2tail_male: Average dnose2tail for male flies and all frames.
dnose2tail: Minimum distance from this animal's nose to the tail of other flies.

dtheta: Average dtheta for all flies and all frames.
dtheta: Change in orientation from frame t to t+1.

du_ctr_move: Average du_ctr for all flies and frames classified as move.
du_ctr: Forward velocity of the animal's center. This is the signed projection of the animal's velocity on the orientation direction, with positive numbers corresponding to forward and negative numbers corresponding to backward motion.
move: Frames in which the flies are not detected to be stopped.

du_ctr_backup: Average du_ctr for all flies and frames classified as backup.
du_ctr: Forward velocity of the animal's center. This is the signed projection of the animal's velocity on the orientation direction, with positive numbers corresponding to forward and negative numbers corresponding to backward motion.

du_ctr_walk: Average du_ctr for all flies and frames classified as walk.
du_ctr: Forward velocity of the animal's center. This is the signed projection of the animal's velocity on the orientation direction, with positive numbers corresponding to forward and negative numbers corresponding to backward motion.

du_ctr_female: Average du_ctr for female flies and all frames.
du_ctr: Forward velocity of the animal's center. This is the signed projection of the animal's velocity on the orientation direction, with positive numbers corresponding to forward and negative numbers corresponding to backward motion.

du_ctr_male: Average du_ctr for male flies and all frames.
du_ctr: Forward velocity of the animal's center. This is the signed projection of the animal's velocity on the orientation direction, with positive numbers corresponding to forward and negative numbers corresponding to backward motion.

du_ctr_chase_male: Average du_ctr for male flies and frames classified as chase.
du_ctr: Forward velocity of the animal's center. This is the signed projection of the animal's velocity on the orientation direction, with positive numbers corresponding to forward and negative numbers corresponding to backward motion.

duration_backup: Average duration of bouts of behavior classified as backup.

duration_crabwalkextreme: Average duration of bouts of behavior classified as crabwalkextreme.

duration_jump: Average duration of bouts of behavior classified as jump.

duration_move: Average duration of bouts of behavior classified as move.
move: Frames in which the flies are not detected to be stopped.

duration_pivotcenter: Average duration of bouts of behavior classified as pivotcenter.

duration_pivottail: Average duration of bouts of behavior classified as pivottail.

duration_righting: Average duration of bouts of behavior classified as righting.

duration_stop: Average duration of bouts of behavior classified as stop.

duration_touch: Average duration of bouts of behavior classified as touch.

duration_walk: Average duration of bouts of behavior classified as walk.

duration_wingextension: Average duration of bouts of behavior classified as wingextension.

duration_wingflick: Average duration of bouts of behavior classified as wingflick.

duration_winggrooming: Average duration of bouts of behavior classified as winggrooming.

duration_attemptedcopulation_male: Average duration for male flies of bouts of behavior classified as attemptedcopulation.

duration_chase_male: Average duration for male flies of bouts of behavior classified as chase.

dwing_angle_diff: Average dwing_angle_diff for all flies and all frames.
dwing_angle_diff: Change in wing_angle_diff over time.

max_absdwing_angle: Average max_absdwing_angle for all flies and all frames.
max_absdwing_angle: Maximum of the largest absolute change in the wing angles over time.

max_absdwing_angle_wingextension: Average max_absdwing_angle for all flies and frames classified as wingextension.
max_absdwing_angle: Maximum of the largest absolute change in the wing angles over time.

max_absdwing_angle_wingflick: Average max_absdwing_angle for all flies and frames classified as wingflick.
max_absdwing_angle: Maximum of the largest absolute change in the wing angles over time.

max_absdwing_angle_winggrooming: Average max_absdwing_angle for all flies and frames classified as winggrooming.
max_absdwing_angle: Maximum of the largest absolute change in the wing angles over time.

max_wing_angle: Average max_wing_angle for all flies and all frames.
max_wing_angle: Maximum of the wing angles.

max_wing_angle_wingextension: Average max_wing_angle for all flies and frames classified as wingextension.
max_wing_angle: Maximum of the wing angles.

max_wing_angle_wingflick: Average max_wing_angle for all flies and frames classified as wingflick.
max_wing_angle: Maximum of the wing angles.

max_wing_angle_winggrooming: Average max_wing_angle for all flies and frames classified as winggrooming.
max_wing_angle: Maximum of the wing angles.

nflies_close: Average nflies_close for all flies and all frames.
nflies_close: Number of flies within 2 body lengths, according to dnose2ell

nflies_close_stop: Average nflies_close for all flies and frames classified as stop.
nflies_close: Number of flies within 2 body lengths, according to dnose2ell

nflies_close_walk: Average nflies_close for all flies and frames classified as walk.
nflies_close: Number of flies within 2 body lengths, according to dnose2ell

nflies_close_female: Average nflies_close for female flies and all frames.
nflies_close: Number of flies within 2 body lengths, according to dnose2ell

nflies_close_male: Average nflies_close for male flies and all frames.
nflies_close: Number of flies within 2 body lengths, according to dnose2ell

nflies_close_chase_male: Average nflies_close for male flies and frames classified as chase.
nflies_close: Number of flies within 2 body lengths, according to dnose2ell

velmag_ctr: Average velmag_ctr for all flies and all frames.
velmag_ctr: Magnitude of the velocity of the fitted ellipse's center.

velmag_ctr_jump: Average velmag_ctr for all flies and frames classified as jump.
velmag_ctr: Magnitude of the velocity of the fitted ellipse's center.

velmag_ctr_move: Average velmag_ctr for all flies and frames classified as move.
velmag_ctr: Magnitude of the velocity of the fitted ellipse's center.
move: Frames in which the flies are not detected to be stopped.

velmag_ctr_nearfly: Average velmag_ctr for all flies and frames classified as nearfly.
velmag_ctr: Magnitude of the velocity of the fitted ellipse's center.
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

velmag_ctr_nearwall: Average velmag_ctr for all flies and frames classified as nearwall.
velmag_ctr: Magnitude of the velocity of the fitted ellipse's center.
nearwall: Distance to the arena wall (dist2wall) is at most 15mm.

velmag_ctr_notnearfly_notnearwall: Average velmag_ctr for all flies and frames classified as notnearfly and notnearwall.
velmag_ctr: Magnitude of the velocity of the fitted ellipse's center.
notnearfly: Center-center distance to the closest fly (dcenter) is at least 6.5mm.
notnearwall: Distance to the arena wall (dist2wall) is at least 15mm.

velmag_ctr_walk: Average velmag_ctr for all flies and frames classified as walk.
velmag_ctr: Magnitude of the velocity of the fitted ellipse's center.

velmag_ctr_female: Average velmag_ctr for female flies and all frames.
velmag_ctr: Magnitude of the velocity of the fitted ellipse's center.

velmag_ctr_male: Average velmag_ctr for male flies and all frames.
velmag_ctr: Magnitude of the velocity of the fitted ellipse's center.

velmag_ctr_chase_male: Average velmag_ctr for male flies and frames classified as chase.
velmag_ctr: Magnitude of the velocity of the fitted ellipse's center.

veltoward_nose2ell_nearfly: Average veltoward_nose2ell for all flies and frames classified as nearfly.
veltoward_nose2ell: Velocity of this animal in the direction towards the closest animal closestfly_nose2ell_t
nearfly: Center-center distance to the closest fly (dcenter) is at most 6.5mm

veltoward_nose2ell_chase_male: Average veltoward_nose2ell for male flies and frames classified as chase.
veltoward_nose2ell: Velocity of this animal in the direction towards the closest animal closestfly_nose2ell_t

wing_angle_diff: Average wing_angle_diff for all flies and all frames.
wing_angle_diff: Angle between the right wing and the left wing.

wing_angle_diff_wingextension: Average wing_angle_diff for all flies and frames classified as wingextension.
wing_angle_diff: Angle between the right wing and the left wing.

wing_angle_imbalance: Average wing_angle_imbalance for all flies and all frames.
wing_angle_imbalance: Difference of the right wing angle and the left wing angle.

wing_anglel: Average wing_anglel for all flies and all frames.
wing_anglel: Angle of the fly's left wing, with 0 indicating directly behind the fly and negative numbers corresponding to the wing being held farther out left.

wing_angler: Average wing_angler for all flies and all frames.
wing_angler: Angle of the right wing, with 0 indicating directly behind the fly and positive numbers corresponding to the wing being held farther out right.




Per-frame features

x_mm: x-coordinate of the center of the ellipse fit to the fly, with (0,0) the center of the arena.

y_mm: y-coordinate of the center of the ellipse fit to the fly, with (0,0) the center of the arena

theta_mm: orientation of the fly in registered coordinate system.

a_mm: Quarter major axis length of the ellipse fit to the fly.

b_mm: Quarter minor axis length of the ellipse fit to the fly.

area_mm: Area of the ellipse fit to the fly.

timestamp: The time the current frame was recorded.

areasmooth: Smoothed version of the fly's area.

ecc: Eccentricity of the ellipse fit to the fly.

wing_anglel: Angle of the fly's left wing, with 0 indicating directly behind the fly and negative numbers corresponding to the wing being held farther out left.

wing_angler: Angle of the right wing, with 0 indicating directly behind the fly and positive numbers corresponding to the wing being held farther out right.

wing_areal_mm: Detected area of the left wing. 0 indicates that the wing was not detected, and wing_anglel = 0.

wing_arear_mm: Detected area of the right wing. 0 indicates that the wing was not detected, and wing_angler = 0.

wing_trough_angle: Angle to the trough between the two wings, with 0 meaning directly behind, negative values meaning to the left, and positive values meaning to the right. This is computed as part of the tracking algorithm.

corfrac_maj: Projection of the center of rotation (the point within the fit ellipse that translates least from frame t to t+1) on the animal's major axis. It is 0 at the center of the animal, 1 at the forward tip of the major axis, and -1 and the backward tip of the major axis.

corfrac_min: Projection of the center of rotation on the animal's minor axis. It is 0 at the center of the animal, 1 at the right tip of the minor axis, and -1 and the backward tip of the minor axis.

x_cor: x-coordinate of the center of rotation -- the point within the fit ellipse that moves least from frame t to t+1.

y_cor: y-coordinate of the center of rotation, the point within the ellipse that moves least from frame t to t+1

x_tail: x-coordinate of the backward tip of the ellipse fit to the fly.

y_tail: y-coordinate of the backward tip of the ellipse fit to the fly.

x_nose: x-coordinate of the forward tip of the ellipse fit to the fly.

y_nose: y-coordinate of the forward tip of the ellipse fit to the fly.

phi: Velocity direction in registered coordinate system.

darea: Change in area from frame t to t+1.

da: Change in quarter major axis length from frame t to t+1.

db: Change in quarter minor axis length from frame t to t+1.

decc: Change in the eccentricity of the ellipse from frame t to t+1.

dtheta: Change in orientation from frame t to t+1.

absdtheta: Absolute change in orientation from frame t to t+1.

smoothdtheta: Smoothed version of orientation.

abssmoothdtheta: Absolute value of change in smoothed version of orientation.

dphi: Change in the velocity direction from frame t to t+1.

du_ctr: Forward velocity of the animal's center. This is the signed projection of the animal's velocity on the orientation direction, with positive numbers corresponding to forward and negative numbers corresponding to backward motion.

du_cor: Forward velocity of the animal's center of rotation. This is the signed projection of the change in the position of the center of rotation onto the orientation direction, with positive numbers corresponding to forward and negative numbers corresponding to backward motion.

du_tail: Forward velocity of the tail-point of the ellipse. This is the signed projection of the backward tip of the fit ellipse's velocity on the orientation direction, with positive numbers corresponding to forward and negative numbers corresponding to backward motion.

dv_ctr: Sideways velocity of the animal's center. This is the signed projection of the center velocity onto the direction orthogonal to the animal's orientation, with negative numbers corresponding to leftward and positive numbers corresponding to rightward motion.

dv_cor: Sideways velocity of the animal's center of rotation. This is the signed projection of the velocity of the center of rotation on onto the direction orthogonal to the animal's orientation, with negative numbers corresponding to leftward and positive numbers corresponding to rightward motion.

dv_tail: Sideways velocity of the tail-point of the ellipse. This is the projection of the velocity of the backward tip of the fit ellipse onto the direction orthogonal to the animal's orientation, with negative numbers corresponding to leftward and positive numbers corresponding to rightward motion.

absdv_ctr: Sideways speed of the animal's center. This is the absolute value of the projection of the center velocity onto the direction orthogonal to the animal's orientation.

absdv_cor: Sideways speed of the animal's center of rotation. This is the absolute value of the projection of the velocity of the center of rotation on onto the direction orthogonal to the animal's orientation.

absdv_tail: Sideways speed of the tail-point of the ellipse. This is the absolute value of the projection of the backward tip of the fit ellipse's velocity on the orientation direction.

flipdv_cor: Sideways velocity of the animal's center of rotation, sign-normalized so that if the animal is turning right, then flipdv_cor is positive if the animal's center of rotation is also translating to the right.

velmag: Magnitude of the velocity of the center of rotation.

velmag_ctr: Magnitude of the velocity of the fitted ellipse's center.

velmag_nose: Magnitude of the velocity of the forward tip of the fit ellipse.

velmag_tail: Magnitude of the velocity of the backward tip of the fit ellipse.

phisideways: Absolute difference between velocity direction and the animal's orientation, in the range [-π/2,π/2).

yaw: Difference between velocity direction and orientation.

absyaw: Absolute value of difference between velocity direction and orientation.

accmag: Magnitude of acceleration of center.

dcenter: Minimum distance from the center of this fly to the center of another fly.

closestfly_center: Identity of closest animal, based on dcenter.

dnose2ell: Minimum distance from this fly's nose, (x_nose_t,y_nose_t) to any point of the ellipse of other flies.

closestfly_nose2ell: Identity of closest animal, based on dnose2ell.

anglesub: Maximum total angle of animal's field of view (fov) occluded by another animal. The parameter fov was set to π radians.

closestfly_anglesub: Identity of closest animal, based on anglesub.

dell2nose: Minimum distance from any point of this fly's ellipse to the nose of other flies.

closestfly_ell2nose: Identity of closest animal, based on dell2nose.

dnose2tail: Minimum distance from this animal's nose to the tail of other flies.

nflies_close: Number of flies within 2 body lengths, according to dnose2ell

dnose2ell_angle_minXtoX: Minimum distance from this animal's nose to the ellipse of other flies. The distance to flies that lie outside the cone of -X degrees to X degrees are multplied by a factor greater than 1 dependent on the angle. We compute this feature for X = 20 and X = 30.

angleonclosestfly: Point along the ellipse of another fly closest to the nose of the current fly. The closest fly is denoted closestfly_nose2ell_t. The points along the ellipse are parameterized by angle, with 0 corresponding to the forward tip of the ellipse and -π corresponding to the backward tip.

ddcenter: Change in minimum distance between this animal's center and other flies' centers.

ddnose2ell: Change in minimum distance between this fly's nose and other flies' ellipses.

ddell2nose: Change in minimum distance between this fly's ellipse and other flies' noses.

danglesub: Change in maximum total angle of animal's view occluded by another animal.

anglefrom1to2_nose2ell: Difference between direction to closest flybased on dnose2ell (closestfly_nose2ell_t) and current animal's orientation.

anglefrom1to2_anglesub: Difference between direction to closest fly based on anglesub and current animal's orientation (closestfly_anglesub_t).

absanglefrom1to2_nose2ell: Absolute difference between direction to closest fly based on dnose2ell (closestfly_nose2ell_t) and current animal's orientation.

absphidiff_anglesub: Absolute difference in velocity direction between the current fly and the closest fly based on anglesub (closestfly_anglesub_t).

absphidiff_nose2ell: Absolute difference in velocity direction between the current fly and the closest fly based on dnose2ell (closestfly_nose2ell_t).

absthetadiff_anglesub: Absolute difference in orientation between the current fly and the closest fly based on anglesub (closestfly_nose2ell_t).

absthetadiff_nose2ell: Absolute difference in orientation between the current fly and the closest fly based on dnose2ell (closestfly_nose2ell_t).

magveldiff_anglesub: Magnitude of difference in the velocity of this fly and the velocity of the closest fly based on anglesub, closestfly_anglesub_t.

magveldiff_nose2ell: Magnitude of difference in velocity of this animal and velocity of closest animal based on dnose2ell, closestfly_nose2ell_t.

veltoward_nose2ell: Velocity of this animal in the direction towards the closest animal closestfly_nose2ell_t

dist2wall: Distance to the arena wall from the animal's center.

ddist2wall: Change in the distance to arena wall.

arena_angle: Angle to the closest point on the arena wall in the global coordinate system.

angle2wall: Angle to the closest point on the arena wall from animal's center, relative to the animal's orientation.

absangle2wall: Absolute value of angle to closest point on the arena wall from animal's center, relative to the animal's orientation.

dangle2wall: Change in the angle to closest point on the arena wall to animal's center, relative to the animal's orientation.

absdangle2wall: Absolute value of change in angle to closest point on the arena wall to animal's center, relative to the animal's orientation.

angle_biggest_wing: Angle of the bigger wing. The bigger wing is decided based on the detected area of the wings.

angle_smallest_wing: Angle of the smaller wing. The smaller wing is decided based on the detected area of the wings.

area_inmost_wing: Area of the wing that is closer to the body.

area_outmost_wing: Area of the wing that is further away from the body.

mean_wing_area: Mean of the areas of the wings.

mean_wing_angle: Mean of the angles of the wings.

wing_angle_diff: Angle between the right wing and the left wing.

wing_angle_imbalance: Difference of the right wing angle and the left wing angle.

nwingsdetected: Number of wings detected by the wing tracker. It can be either 0, 1 or 2.

dnwingsdetected: Change in number of wings detected over time.

min_wing_area: Minimum of the wing areas.

max_wing_area: Maximum of the wing areas.

min_wing_angle: Minimum of the wing angles.

max_wing_angle: Maximum of the wing angles.

dangle_biggest_wing: Change in the angle of the bigger wing. The bigger wing is decided based on the detected area of the wings.

dangle_smallest_wing: Change in the angle of the smaller wing. The smaller wing is decided based on the detected area of the wings.

darea_inmost_wing: Change in the area of the wing that is closer to the body.

darea_outmost_wing: Change in the area of the wing that is more away from the body.

dmax_wing_area: Change in the area of the larger wing.

dmin_wing_area: Change in the are of the smaller wing.

dmax_wing_angle: Change in the angle of the larger wing angle.

dmin_wing_angle: Change in the angle of the smaller the wing angle.

dwing_angle_diff: Change in wing_angle_diff over time.

dwing_angle_imbalance: Change in wing_angle_imbalance over time.

max_absdwing_area: Maximum of the largest absolute change in the wing areas over time.

min_absdwing_area: Minimum of the largest absolute change in the wing areas over time.

max_absdwing_angle: Maximum of the largest absolute change in the wing angles over time.

min_absdwing_angle: Minimum of the largest absolute change in the wing angles.

max_dwing_angle_in: Change in the angle of the wing that moves in the most.

min_dwing_angle_in: Change in the angle of the wing that moves in the least.

max_dwing_angle_out: Change in the angle of the wing that moves out the most.

min_dwing_angle_out: Change in the angle of the wing that moves out the least.

fractime: Fraction of time performing a given behavior.

duration: Average duration of bouts of a given behavior.

boutfreq: Frequency of starts of bouts of a given behavior.




Line-level behavior statistic plot legend

Plot of a subset of behavior statistics for a line. The x-axis corresponds to different behavior statistics. The y-axis corresponds to how different the behavior of this line is from that of the genetic control. 0 means that the behavior statistic for this line is the same as for control, positive means it is higher, negative means it is lower. Differences are reported in terms of the standard deviation of the behavior statistic over retests of the control. In the plot, circles correspond to the mean value for all data for this line, asterisks to individual retests, and dots to individual trials. Dark bars show standard errors for the line-level statistics, and light bars show standard errors for the retest-level statistics.




Data set units

Retest: ≈4 videos (trials) collected simultaneously from the same cross.

Trial: a single 15-minute video of a group of 10 male and 10 female flies.

Sample: a single measurement of behavior, corresponding to a single frame for a single fly.




Miscellaneous terms

Genetic control: The negative control line used for behavioral comparisons was pBDPGALU (a GAL4 insertion without a promoter in w1118;attp2 (Pfeiffer et al., 2008).