readTIF: Read tif stacks

Description Usage Arguments Value Examples

View source: R/readtif.R

Description

Read tif stacks

Usage

1
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

1
2
kringel <- readTIF(system.file("extdata","kringel.tif",package="bioimagetools"))
img(kringel)

bioimagetools documentation built on July 2, 2020, 2:59 a.m.