sum_across_images: Sums tidycyte metrics across images

Description Usage Arguments Value Examples

View source: R/sum_across_images.R

Description

Sums 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
sum_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 summed across images. The "image" field is modified to reflect the total number of images used for summing, and the "id" field is modified to note that it is an image sum.

Examples

1

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