Drops the singleton channel dimension and returns a plain H x W
matrix. The channel name is stored in attr(result, "channel").
If the object has more than one channel, use img[, , "DAPI"] to
select one first.
Usage
# S3 method for class 'QPTIFFImage'
as.matrix(x, ...)Arguments
- x
A
QPTIFFImagewith exactly one channel, or a 2-D array (already a matrix-like object), which is returned withas.matrixapplied directly.- ...
Unused.