Learn R Programming

mpactr (version 0.2.1)

get_group_averages: Get groups averages.

Description

get_group_averages() is a wrapper function to return group averages for the filtered peak table.

Usage

get_group_averages(mpactr_object)

Value

a data.table reporting the average and relative standard deviation across biological groups and technical replicates within each group.

Arguments

mpactr_object

The mpactr object that is created by calling the import_data() function.

Examples

Run this code
data <- import_data(
  example_path("coculture_peak_table.csv"),
  example_path("metadata.csv"),
  format = "Progenesis"
)

data_filter <- filter_group(data, group_to_remove = "Blanks")

group_averages <- get_group_averages(data_filter)
head(group_averages)

Run the code above in your browser using DataLab