robex.Rd
Executes Robust Brain Extraction
robex(infile, outfile = tempfile(fileext = ".nii.gz"), verbose = TRUE, ...)
infile | Input filename |
---|---|
outfile | Output skull-stripped file |
verbose | print diagnostic messages |
... | arguments to be passed to |
List of result of system
command,
names of input and output file
result = robex(infile = "", outfile = "")#> Warning: path[1]="": No such file or directory#> Warning: path[1]="": No such file or directory#>#> Warning: ROBEX result indicated an error! Please check resutls.#> Warning: ROBEX result image not found! Please check resutls.if (requireNamespace("kirby21.t1")) { infile = kirby21.t1::get_t1_filenames(id = "113", visit = 1) if (is.null(infile)) { infile = "" } if (!file.exists(infile)) { outdir = tempdir() try({kirby21.t1::download_t1_data(outdir = outdir)}) infile = kirby21.t1::get_t1_filenames( id = "113", visit = 1, outdir = outdir) } if (!is.null(infile)) { if (file.exists(infile)) { result = robex(infile = infile) stopifnot(file.exists(result$outfile)) } } }#>#> Warning: path[1]="/var/folders/1s/wrtqcpxn685_zk570bnx9_rr0000gr/T//RtmpSgySj6/fileb67919c993c4.nii.gz": No such file or directory#>