-
Notifications
You must be signed in to change notification settings - Fork 1
/
merge_channels.Rd
25 lines (22 loc) · 981 Bytes
/
merge_channels.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/merge_channels.R
\name{merge_channels}
\alias{merge_channels}
\title{Create RDS for a combination of channels}
\usage{
merge_channels(path, imgs, channels, method)
}
\arguments{
\item{path}{The path of where to create the _Array.R files}
\item{imgs}{The paths for the images to merge}
\item{channels}{Character vector with names of the channels. Channel names should be in the names of the .tif files}
\item{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
}
\description{
Create RDS for a combination of channels
}
\keyword{array}
\keyword{image}