quant | R Documentation |
Quantifies the number of pixels for each channel in any direction (default z-stack)
quant(imgs, channels, naming = NULL, cores = 1, axis = 3)
imgs |
The paths of array files; i.e. output from |
channels |
Character vector with name(s) of channels. Channel names should be in the names of the array files |
naming |
Optional. Add metadata to the output dataframe by looking through names of array files. Should be a list of character vectors, each list element will be added as a variable. Example: naming=list(Time=c("T0","T1","T2")). The function inserts a variable called Time, and then looks through the names of the array files and inserts characters mathcing either T0, T1 or T2 |
cores |
Number of cores for parallel computing |
axis |
Axis to aggregate over (1: x, 2: y, 3:z). Default 3 (z-axis) |
A dataframe with number of pixels for each layer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.