plot_activity_all_median_1to7: Calculate and plot median activity across flies.

Description Usage Arguments Value

Description

plot_activity_all_median_1to7 calculates the mean activity within flies and calculates and plots the median activity time-courses across flies around odor encounter. Rows containing missing values in the interval between 1s before and 7s after odor encounter will be removed. Activity timecourses for individual flies are written to within_fly_activity.csv and a overview plot is exported (activity_overview.pdf).

Usage

1

Arguments

object

a data.frame as produced by read.esm

Value

a data.frame containing mean activity time-courses per fly and odor


michathoma/flywalkr documentation built on May 9, 2019, 2:10 p.m.