Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rowQ

A function to compute empirical row quantiles.


Description

This function computes the requested quantile for each row of a matrix, or of an ExpressionSet.

Usage

rowQ(imat, which)
rowMax(imat)
rowMin(imat)

Arguments

imat

Either a matrix or an ExpressionSet.

which

An integer indicating which order statistic should be returned.

Details

rowMax and rowMin simply call rowQ with the appropriate argument set.

The argument which takes values between 1, for the minimum per row, and ncol(imat), for the maximum per row.

Value

A vector of length equal to the number of rows of the input matrix containing the requested quantiles.

Author(s)

R. Gentleman

See Also

rowMedians. rowMeans() in colSums().

Examples

data(sample.ExpressionSet)
 rowMin(sample.ExpressionSet)
 rowQ(sample.ExpressionSet, 4)

Biobase

Biobase: Base functions for Bioconductor

v2.50.0
Artistic-2.0
Authors
R. Gentleman, V. Carey, M. Morgan, S. Falcon
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.