Diff of /man/ich_segment.Rd [000000] .. [242173]

Switch to unified view

a b/man/ich_segment.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/ich_segment.R
3
\name{ich_segment}
4
\alias{ich_segment}
5
\alias{ich_process_predictors}
6
\title{Predict ICH Segmentation}
7
\usage{
8
ich_segment(
9
  img,
10
  ...,
11
  verbose = TRUE,
12
  shiny = FALSE,
13
  model = c("rf", "logistic", "big_rf"),
14
  outfile = NULL
15
)
16
17
ich_process_predictors(
18
  img,
19
  mask = NULL,
20
  save_imgs = FALSE,
21
  outdir = NULL,
22
  stub = NULL,
23
  verbose = TRUE,
24
  shiny = FALSE,
25
  roi = NULL,
26
  erode_mask = TRUE,
27
  ...
28
)
29
}
30
\arguments{
31
\item{img}{CT image, object of class \code{nifti} or
32
character filename}
33
34
\item{...}{Additional options passsed to \code{\link{ich_preprocess}}}
35
36
\item{verbose}{Print diagnostic output}
37
38
\item{shiny}{Should shiny progress be called?}
39
40
\item{model}{model to use for prediction,
41
either the random forest (rf) or logistic}
42
43
\item{outfile}{filename for native-space, smoothed,
44
thresholded image.}
45
46
\item{mask}{binary brain mask, object of class \code{nifti} or
47
character filename}
48
49
\item{save_imgs}{Logical to save all images that are created as
50
predictors}
51
52
\item{outdir}{Output directory of saved images, needs to be set
53
if \code{save_imgs = TRUE}}
54
55
\item{stub}{Basename to write image names if \code{save_imgs = TRUE}}
56
57
\item{roi}{Filename of ROI, which will be transformed}
58
59
\item{erode_mask}{Should the brain mask be eroded?}
60
}
61
\value{
62
List of output prediction/probability images
63
}
64
\description{
65
Will preprocess and predict the ICH voxels
66
}