xy_splits | R Documentation |
Splits the image in each xy position and then run an analysis
xy_splits(imgs, channels, do, upper.part = 0.5, layer.start = NULL, cores = 1)
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 |
do |
What to do?
|
upper.part |
Only if do="section". Either the fraction to assign to the upper section (between 0 and 1), or a fixed number of layers that are assigned to the upper part (an integer, 1L, 2L, 3L etc.. Remember the L!). The upper fraction is inclusive (i.e. x >= upper.part) |
layer.start |
Only if do="section". Are first layers the "Top" or the "Bottom" of the specimen? |
cores |
Cores to use for parallel computing. Defaults to 1, i.e. not parallel. |
For sectioning, NA is returned if a channel is absent at a specific xy-position, but a zero is returned if the channel is present at that xy-position but absent in the section.
A recursive list. First layer are the images, within those are the channels. Each element is a matrix with a value for each xy position. If do="section" an extra layer is added denoting the upper and lower section.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.