Learn R Programming

bioimagetools (version 1.1.8)

readTIF: Read tif stacks

Description

Read tif stacks

Usage

readTIF(file = file.choose(), native = FALSE, as.is = FALSE, channels = NULL)

Arguments

file

Name of the file to read from. Can also be an URL.

native

determines the image representation - if FALSE (the default) then the result is an array, if TRUE then the result is a native raster representation (suitable for plotting).

as.is

attempt to return original values without re-scaling where possible

channels

number of channels

Value

3d or 4d array

Examples

Run this code
# NOT RUN {
kringel <- readTIF(system.file("extdata","kringel.tif",package="bioimagetools"))
img(kringel)
# }

Run the code above in your browser using DataLab