dim-methods: Retrieve the dimension of microarray objects

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

Description

Generic function dim to retrieve the number of rows (genes) and columns (arrays) for classes maigesPreRaw, maigesRaw, maiges and maigesANOVA.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'maigesPreRaw'
dim(x)

## S3 method for class 'maigesRaw'
dim(x)

## S3 method for class 'maiges'
dim(x)

## S3 method for class 'maigesANOVA'
dim(x)

Arguments

x

an object of class maigesPreRaw, maigesRaw, maiges or maigesANOVA

Details

This is a function to retrieve the dimensions of the dataset - number of genes (rows) and samples (columns) studied. Note that the commands nrow(x), ncol(x) and commands related with matrix dimensions on also work.

Value

Vector with 2 numbers, the first one is the number of rows (genes) and the second one the number of columns (samples).

Author(s)

modified from the marray package

See Also

dim in the base package.

Examples

1
2
3
4
5
6
7


Search within the maigesPack package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.