getPixelDf | R Documentation |
Extracts a data.frame in which each row corresponds to a pixel in the current image with x- and y-coordinates.
getPixelDf(object, ...)
## S4 method for signature 'SPATA2'
getPixelDf(
object,
img_name = activeImage(object),
colors = FALSE,
hex_code = FALSE,
content = FALSE,
transform = TRUE,
xrange = NULL,
yrange = NULL,
scale_fct = 1
)
## S4 method for signature 'SpatialData'
getPixelDf(
object,
img_name = activeImage(object),
colors = FALSE,
hex_code = FALSE,
content = FALSE,
xrange = NULL,
yrange = NULL,
transform = TRUE,
scale_fct = 1,
...
)
## S4 method for signature 'HistoImage'
getPixelDf(
object,
colors = FALSE,
hex_code = FALSE,
content = FALSE,
xrange = NULL,
yrange = NULL,
transform = TRUE,
scale_fct = 1,
...
)
## S4 method for signature 'Image'
getPixelDf(
object,
colors = FALSE,
hex_code = FALSE,
use_greyscale = FALSE,
frgmt_threshold = c(5e-04, 0.01),
eps = 1,
minPts = 3,
...
)
object |
An object of class |
... |
Used to absorb deprecated arguments or functions. |
img_name |
Character value. The name of the image of interest.
If |
colors |
Logical value. If |
transform |
Logical value. Ignored if no images exist in the object. If |
xrange , yrange |
Distance vector of length
two or |
eps |
Distance measure. Given to |
minPts |
Numeric value. Given to |
tissue |
Logical value. If |
Data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.