mat {cmapR} | R Documentation |
Extract or set the matrix of GCT object
mat(g) ## S4 method for signature 'GCT' mat(g) mat(g) <- value ## S4 replacement method for signature 'GCT' mat(g) <- value
g |
the GCT object |
value |
a numeric matrix |
a matrix
Other GCT accessor methods:
ids()
,
meta()
# get the matrix m <- mat(ds) # set the matrix mat(ds) <- matrix(0, nrow=nrow(m), ncol=ncol(m))