staple: Generic STAPLE Algorithm

Description Usage Arguments

View source: R/staple.R

Description

Tries to do the correct STAPLE algorithm (binary/multi-class) for the type of input (array/matrix/list of images/filenames of images)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
staple(x, ..., set_orient = FALSE)

## Default S3 method:
staple(x, ..., set_orient = FALSE)

## S3 method for class 'list'
staple(x, ..., set_orient = FALSE)

## S3 method for class 'character'
staple(x, ..., set_orient = FALSE)

## S3 method for class 'array'
staple(x, ..., set_orient = FALSE)

Arguments

x

a nxr matrix where there are n raters and r elements rated, a list of images, or a character vector. Note, readNifti is used for image filenames

...

Options for STAPLE, see staple_bin_mat and staple_multi_mat

set_orient

Should the orientation be set to the same if x is a set of images, including niftiImages.


stapler documentation built on Jan. 10, 2020, 1:06 a.m.