Coerce to matrix
Usage
# S4 method for class 'spatLocsObj'
as.matrix(x, id_rownames = TRUE, ...)
# S4 method for class 'nnNetObj'
as.matrix(x, attr = NULL, ...)See also
Other As coercion functions:
as.data.table(),
as.points(),
as.polygons(),
r_spatial_conversions
Examples
sl <- GiottoData::loadSubObjectMini("spatLocsObj")
m <- as.matrix(sl)
