Learn R Programming

RImageJROI (version 0.1.3)

read.ijzip: 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)

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.

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

Author

Mikko Vihtakari

See Also

read.ijroi, plot.ijzip.

Examples

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

Run the code above in your browser using DataLab