read.ijzip {RImageJROI}R Documentation

Read ImageJ zip file containing several ROI files

Description

A wrapper function, which reads a zip file containing ImageJ ROI files using read.ijroi function.

Usage

read.ijzip(file, names = TRUE, list.files = FALSE, verbose = FALSE)

Arguments

file

zip file containing a collection of ImageJ ROI files

names

Logical, indicating whether the ROI file names should be used as names for the elements in the list (see Return). If FALSE a sequence of names specifying the type of ROI is automatically generated.

list.files

logical, indicating whether a data.frame of ROI files in file should be returned instead of a list of results. Defaults to FALSE. If TRUE equals to unzip(file, list = TRUE).

verbose

Whether to report information (see read.ijroi).

Value

An object of class ijzip containing a list of the coordinates and types of ImageJ ROIs. Each element is named after option specified in names.

Author(s)

Mikko Vihtakari

See Also

read.ijroi, plot.ijzip.

Examples

file <- file.path(system.file(package = "RImageJROI"), "extdata", "ijroi", "ijzip.zip")
x <- read.ijzip(file)
plot(x)

[Package RImageJROI version 0.1.2 Index]