Learn R Programming

TableContainer (version 1.0.0)

dim,TableContainer-method: Container Methods

Description

Container Methods

Usage

# S4 method for TableContainer
dim(x)

# S4 method for TableContainer dimnames(x)

# S4 method for TableContainer nrow(x)

# S4 method for TableContainer ncol(x)

# S4 method for TableContainer rownames(x)

# S4 method for TableContainer rownames(x) <- value

# S4 method for TableContainer colnames(x)

# S4 method for TableContainer colnames(x) <- value

# S4 method for TableContainer [(x, i, j, ..., drop = TRUE)

tblData(object)

tblData(object) <- value

rowData(object)

rowData(object) <- value

colData(object)

colData(object) <- value

metaData(object)

metaData(object) <- value

# S4 method for TableContainer tblData(object)

# S4 method for TableContainer tblData(object) <- value

# S4 method for TableContainer rowData(object)

# S4 method for TableContainer rowData(object) <- value

# S4 method for TableContainer colData(object)

# S4 method for TableContainer colData(object) <- value

# S4 method for TableContainer metaData(object)

# S4 method for TableContainer metaData(object) <- value

Value

dim, dimnames, nrow, and ncol: the respective dimensions, dimnames, number of rows, and number of columns of the TableContainer object. When the table slot is NULL, the dimensions are derived from the rowData and colData slots.

[: A new TableContainer object with the selected data.

tblData, rowData, colData, and metadata: the respective slots of the TableContainer object.

tblData<-, rowData<-, colData<-, and metadata<-: update the respective slots and return the modified object.

Arguments

x

A TableContainer object.

value

A matrix, data.frame, or NULL.

i

Row indices for subsetting. If only i is provided, it will return the entire row(s).

j

Column indices for subsetting.

...

Additional arguments.

drop

Not used.

object

A TableContainer object.