show.brain.lut: show brain lookup table

Description Usage Arguments Details Value Testing Author(s) Examples

View source: R/clusterluts.R

Description

show one of the lookup tables created through treeluts

Usage

1
2
3
4
5
6
7
8
9
show.brain.lut(
  n,
  LUTdir,
  lut = NULL,
  clusters = read.tree(),
  verbose = getOption("verbose"),
  test = FALSE,
  ...
)

Arguments

n

number of cuts the table should have

LUTdir

directory where to look for LUT files

lut

alternative LUT, see description

clusters

matrix with cluster assignments (1 column per cut)

verbose

provide feedback?

test

set to give specific return strings for tests

...

ignored

Details

The LUT can, alternatively, be given through lut: either a compatible matrix (3 rows or columns) or a complete file path

Value

LUT used (invisibly)

Testing

When test is set, specific strings are returned for use with expect_equal.

Author(s)

Benno Pütz puetz@psych.mpg.de

Examples

1
2
3
4
## Not run: 
  show.brain.lut(10, 'luts')

## End(Not run)

bennop/clusterLUTs documentation built on Nov. 21, 2020, 9:07 a.m.