collapse-methods: description of function collapse

Description Usage Arguments

Description

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

Usage

1
2
3
4
5
6
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. 23, 2022, 5:47 a.m.