avg_phgropro: avg_phgropro Copyright (c) 2019. Kaleido Biosciences. All...

Description Usage Arguments Value Examples

View source: R/avg_phgropro.R

Description

This function is intended to make averaging OD600 and pH values from phgropro across groups very easy. This functiuon also returns the standard deviation for OD600 and pH. New Sample.IDs are assigned by concatenating the conditions that the user chooses to group by in order to make it easy to match the output avg_phgropro to avg_phgrofit.

Usage

1
avg_phgropro(phgropro_output, group_by = "Sample.ID")

Arguments

phgropro_output

The output of phgropro.

group_by

Character vector of the names of the columns that you would like to group by.

Value

a data frame with mean_OD600, sd_OD600, mean_pH, sd_pH across the groups specified

Examples

1
2
3
4
5
#This would return a data frame with the average and sd pH and OD600 values when grouped by Community and Compound.
## Not run: 
p1 = avg_phgropro(phgropro_output,c("Community","Compound"))

## End(Not run)

Kaleido-Biosciences/phgrofit documentation built on Feb. 8, 2022, 5:16 a.m.