summary_statistics | R Documentation |
Computes summary statistics for each feature, possibly grouped by a factor. The statistics include mean, standard deviation (sd), median, median absolute deviation (mad), minimum (min), maximum (max) as well as 25
summary_statistics(object, grouping_cols = NA)
object |
a MetaboSet object |
grouping_cols |
character vector, the columns by which grouping should be done. Use |
a data frame with the summary statistics
# Group by "Group"
sum_stats <- summary_statistics(example_set)
# Group by Group and Time
sum_stats <- summary_statistics(example_set, grouping_cols = c("Group", "Time"))
# No Grouping
sum_stats <- summary_statistics(example_set, grouping_cols = NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.