R/staple_example_data.R

Defines functions staple_example_data

Documented in staple_example_data

#' STAPLE Example Data
#'
#' @return Character vector of filenames
#' @export
#'
#' @examples
#' staple_example_data()
staple_example_data = function() {
  fnames = paste0("seg_", 1:3, ".nii.gz")
  system.file("extdata", fnames, package = "stapler")
}

Try the stapler package in your browser

Any scripts or data that you put into this service are public.

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