Compute colors in classes distribution for folders
colors.in.classes.folder(
path,
color1,
color2 = NULL,
N = 7,
type = "intensity",
thresh1 = NULL,
thresh2 = NULL,
sd1 = 2,
sd2 = 2,
col1 = "green",
col2 = "red",
cores = 1,
verbose = FALSE
)
Path to root folder
Image of first color
Image of second color
Maximum number of classes
Type of spot definition, see details
Threshold for first color image
Threshold for second color image
For automatic threshold, that is: mean(color1)+sd1*sd(color1)
For automatic threshold of color2
Name of color 1
Name of color 2
Number of cores used in parallel, cores=1 implies no parallelization
verbose mode
Results are in folder colorsinclasses