collapse-methods: description of function collapse

collapseR Documentation

description of function collapse

Description

This function collapses a dataset on any row or column information using the function fun.

Usage

collapse(
  x,
  what = "row",
  group,
  fun = function(x) {     mean(x, na.rm = TRUE) }
)

Arguments

x

the BioData object

what

collapse on a row or column data default='row'

group

the colnames of the annotaion or samples table

fun

the collapsing function (default function(x) mean(x, ns.rm=TRUE ) )


stela2502/BioData documentation built on Feb. 27, 2025, 6:20 a.m.