average_across_images: Average tidycyte metrics across images

Description Usage Arguments Value Examples

View source: R/average_across_images.R

Description

Averages all metrics in a tidycyte dataframe across images. Groups images together that have the same values of each parameter except for id, image, and value, each of which can be variable. This effectively groups within each combination of elapsed, date_time, well, cell, treatment, and metric.

Usage

1
average_across_images(.df, .na.rm = TRUE)

Arguments

.df

A data frame containing tidycyte data.

.na.rm

Boolean value indicating whether NA values should be removed. Defauls to TRUE.

Value

A data frame containing the metrics averaged across images. The "image" field is modified to reflect the total number of images used for averaging, and the "id" field is modified to note that it is an image mean.

Examples

1

hodgeslab/tidycyte documentation built on Dec. 20, 2021, 4:47 p.m.