arrange.row: Reorder a dataset by increasing row order.

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/arrange.row.R

Description

The functions could be used to reorder a dataset to make sure that all the genes are in the same row before fitting any model. The arrange.row function is also used by the weight.plot function to map all the genes to their position on the slide.

Usage

1

Arguments

data

A dataset containing the row indices in the first column and the column indices in the second column. The row indices should all be distinct. All indices should start at zero!

Value

The ordered dataset.

Author(s)

Raphael Gottardo

References

Robust Estimation of cDNA Microarray Intensities with Replicates Raphael Gottardo, Adrian E. Raftery, Ka Yee Yeung, and Roger Bumgarner Department of Statistics, University of Washington, Box 354322, Seattle, WA 98195-4322

See Also

weight.plot

Examples

1
2
3
4
5
data(hiv)
### Put the indices in the first two columns and
### reorder the first 4 replicates
new.data<-cbind(hiv[,9:10],hiv[,1:4])
ordered.data<-arrange.row(new.data)

rama documentation built on Nov. 8, 2020, 8:02 p.m.