Skip to contents

Names of layers in the stack of a 'VirtualArray'-class object

Usage

layers(x, ...)

# S4 method for VirtualArray
layers(x)

Arguments

x

A VirtualArray-derived class object.

...

additional arguments passed to class-specific methods.

Value

A character vector of names.

Examples

# names of layers in the stack
data(exemplar)
layers(exemplar)
#>  [1] "sample1"  "sample2"  "sample3"  "sample4"  "sample5"  "sample6" 
#>  [7] "sample7"  "sample8"  "sample9"  "sample10" "sample11" "sample12"