quant: Quantifies the pixels in images

Description Usage Arguments Value

View source: R/quant.R

Description

Quantifies the number of pixels for each channel in each layer (z-stack)

Usage

1
quant(imgs, channels, naming = NULL, cores = 1)

Arguments

imgs

The paths of array files; i.e. output from loadIMG or findIMG functions.

channels

Character vector with name(s) of channels. Channel names should be in the names of the array files

naming

Optional. Add metadata to the output dataframe by looking through names of array files. Should be a list of character vectors, each list element will be added as a variable. Example: naming=list(Time=c("T0","T1","T2")). The function inserts a variable called Time, and then looks through the names of the array files and inserts characters mathcing either T0, T1 or T2

cores

Number of cores for parallel computing

Value

A dataframe with number of pixels for each layer


Russel88/RCon3D documentation built on Nov. 11, 2018, 2:26 p.m.