get_group_averages {mpactr} | R Documentation |
get_group_averages()
is a wrapper function to return group averages
for the filtered peak table.
get_group_averages(mpactr_object)
mpactr_object |
The mpactr object that is created by calling the import_data() function. |
a data.table
reporting the average and relative standard
deviation across biological groups and technical replicates within
each group.
data <- import_data(example("coculture_peak_table.csv"),
example("metadata.csv"),
format = "Progenesis"
)
data_filter <- filter_group(data, group_to_remove = "Blanks")
group_averages <- get_group_averages(data_filter)
head(group_averages)