analyze_motility: Analyze motility data

Description Usage Arguments Value Examples

View source: R/analyze_motility.R

Description

Automates the analysis of motility data from the WRMTRCK output

Usage

1

Arguments

data

Data needs to be a dataframe from WRMTRCK

Value

A summary of motility data including the average velocity and percent moving. average_velocity calculated off the mean velocity of the "AvgSpeed" from all filaments moving more than 4um. Percent moving calculated by dividing the number of filaments that moved (>4um) by the total number of filaments. NOTE* Use with dplyr "group_by" to get output for each variables.

Examples

1
2
3
4
5
6
analyze_motility()

data <- data(motility_test)
analyzed_data <- data %>%
group_by("tm", "pH", "pCa", "video") %>%
analyze_motility()

brentscott93/biophysr documentation built on Sept. 14, 2021, 2:35 a.m.