View source: R/merge_channels.R
merge_channels | R Documentation |
Create RDS for a combination of channels
merge_channels(path, imgs, channels, method)
path |
The path of where to create the _Array.R files |
imgs |
The paths for the images to merge |
channels |
Character vector with names of the channels. Channel names should be in the names of the .tif files |
method |
How to merge. Either "union" (presence is coded if at least one channel is present), "intersect" (presence is coded only if all channels are present), or "subtract" (presence is coded as those in the first channel but not in the second channel). |
Creates arrays as RDS files in the specified path, and outputs the paths for image files containing the name of the method and channels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.