mat: Extract or set the matrix of GCT object

Description Usage Arguments Value See Also Examples

Description

Extract or set the matrix of GCT object

Usage

1
2
3
4
5
6
7
8
9
mat(g)

## S4 method for signature 'GCT'
mat(g)

mat(g) <- value

## S4 replacement method for signature 'GCT'
mat(g) <- value

Arguments

g

the GCT object

value

a numeric matrix

Value

a matrix

See Also

Other GCT accessor methods: ids(), meta()

Examples

1
2
3
4
# get the matrix
m <- mat(ds)
# set the matrix
mat(ds) <- matrix(0, nrow=nrow(m), ncol=ncol(m))

cmap/cmapR documentation built on Oct. 14, 2021, 12:51 a.m.