Skip to contents

Collapses the per-peptide table of pepchem_by_sample() to one row per (group, descriptor): the count, mean, median and sd over that group's unique sequences. With the default by = "Sample" this is the first of the two aggregation steps the report uses — aggregate_pepchem() is the second.

Usage

summarise_pepchem(props, by = "Sample", properties = NULL)

Arguments

props

Output of pepchem_by_sample().

by

Grouping column. Default "Sample".

properties

Descriptor columns to summarise. NULL (default) uses every numeric column that is not an annotation column.

Value

A long data frame with the by column, Condition (when present), Property, N, Mean, Median and SD.

Examples

if (FALSE) { # \dontrun{
summarise_pepchem(pepchem_by_sample(pep_short))
} # }