statsPerRow: Descriptive statistics on each row of the input matrix

Description Usage Arguments Details Value Author(s) Examples

Description

Compute descriptive parameters (central tendency, dispersion) for each row of a matrix or data frame.

Usage

1

Arguments

x

A matrix or data frame

Details

First version: 2015-03 Last modification: 2015-03

Value

A data.frame with one row per row of the input matrix, and one column per computed statistics.

mean

mean

median

median

sd

standard deviation

var

variance

iqr

inter-quartile range

sdiqr

standardized IQR, which can serve as robust estimator of the standard deviation.

Author(s)

Jacques van Helden (Jacques.van-Helden@univ-amu.fr)

Examples

1
2
3
4
5
6
7
8
## Load example data set from Den Boer, 2009
library(denboer2009)
data(denboer2009.expr)     ## Load expression table
data(denboer2009.pheno)    ## Load phenotypic data
data(denboer2009.group.labels)    ## Load phenotypic data

stats.per.row <- statsPerRow(denboer2009.expr)
names(stats.per.row)

jvanheld/stats4bioinfo documentation built on May 20, 2019, 5:16 a.m.