merge_channels: Create RDS for a combination of channels

View source: R/merge_channels.R

merge_channelsR Documentation

Create RDS for a combination of channels

Description

Create RDS for a combination of channels

Usage

merge_channels(path, imgs, channels, method)

Arguments

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).

Value

Creates arrays as RDS files in the specified path, and outputs the paths for image files containing the name of the method and channels


Russel88/RCon3D documentation built on Dec. 14, 2022, 11:06 p.m.