marray (version 1.50.0)

maMed: Stratified median calculation

Description

This function computes the median of values in y separately within values of x. It is used by maNormMed for median location normalization.

Usage

maMed(x, y, subset=TRUE)

Arguments

x
Variables used to stratify the data.
y
A numeric vector.
subset
A "logical" or "numeric" vector indicating the subset of points used to compute the median.

Value

A numeric vector of median values.

References

S. Dudoit and Y. H. Yang. (2002). Bioconductor R packages for exploratory analysis and normalization of cDNA microarray data. In G. Parmigiani, E. S. Garrett, R. A. Irizarry and S. L. Zeger, editors, The Analysis of Gene Expression Data: Methods and Software, Springer, New York.

Y. H. Yang, S. Dudoit, P. Luu, and T. P. Speed (2001). Normalization for cDNA microarray data. In M. L. Bittner, Y. Chen, A. N. Dorsel, and E. R. Dougherty (eds), Microarrays: Optical Technologies and Informatics, Vol. 4266 of Proceedings of SPIE.

Y. H. Yang, S. Dudoit, P. Luu, D. M. Lin, V. Peng, J. Ngai, and T. P. Speed (2002). Normalization for cDNA microarray data: a robust composite method addressing single and multiple slide systematic variation. Nucleic Acids Research, Vol. 30, No. 4.

See Also

maNormMain, maNormMed, median.

Examples

Run this code
# See examples for maNormMain.

Run the code above in your browser using DataLab