aggregate_matrix: Aggregate matrix over groups

View source: R/utils.R

aggregate_matrixR Documentation

Aggregate matrix over groups

Description

Aggregate matrix over groups

Usage

aggregate_matrix(x, groups = NULL, fun = "mean")

Arguments

groups

A character vector with the groups to aggregate over.

fun

The summary function to be applied to each group.

Value

A summary matrix.


quadbiolab/Pando documentation built on April 22, 2024, 8:14 a.m.