dim,TableContainer-method {TableContainer} | R Documentation |
Container Methods
Description
Container Methods
Usage
## S4 method for signature 'TableContainer'
dim(x)
## S4 method for signature 'TableContainer'
dimnames(x)
## S4 method for signature 'TableContainer'
nrow(x)
## S4 method for signature 'TableContainer'
ncol(x)
## S4 method for signature 'TableContainer'
rownames(x)
## S4 replacement method for signature 'TableContainer'
rownames(x) <- value
## S4 method for signature 'TableContainer'
colnames(x)
## S4 replacement method for signature 'TableContainer'
colnames(x) <- value
## S4 method for signature '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 signature 'TableContainer'
tblData(object)
## S4 replacement method for signature 'TableContainer'
tblData(object) <- value
## S4 method for signature 'TableContainer'
rowData(object)
## S4 replacement method for signature 'TableContainer'
rowData(object) <- value
## S4 method for signature 'TableContainer'
colData(object)
## S4 replacement method for signature 'TableContainer'
colData(object) <- value
## S4 method for signature 'TableContainer'
metaData(object)
## S4 replacement method for signature 'TableContainer'
metaData(object) <- value
Arguments
x |
A TableContainer object. |
value |
A matrix, data.frame, or NULL. |
i |
Row indices for subsetting. If only |
j |
Column indices for subsetting. |
... |
Additional arguments. |
drop |
Not used. |
object |
A TableContainer object. |
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.
[Package TableContainer version 1.0.0 Index]