Switch to unified view

a b/man/radiomics_partition.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/radiomics_partition.R
3
\name{radiomics_partition}
4
\alias{radiomics_partition}
5
\title{Radiomic Calculation on Partitioned Lung}
6
\usage{
7
radiomics_partition(
8
  img,
9
  mask,
10
  sides = c("right", "left"),
11
  featuresFirst = c("mean", "sd", "skew", "kurtosis", "min", "q1", "median", "q3",
12
    "max", "energy", "rms", "uniformity", "entropy"),
13
  featuresSpatial = c("mi", "gc", "fd"),
14
  partition = NULL,
15
  kernel_size = c(30, 30, 30),
16
  kernel_stride = c(30, 30, 30),
17
  threshold = 1000,
18
  tidy = TRUE
19
)
20
}
21
\arguments{
22
\item{img}{CT scan in ANTs image file format}
23
24
\item{mask}{Mask of CT scan in ANTs image file format}
25
26
\item{sides}{Choose to calculate radiomic features on the right and/or left lungs. Note: Right lung = 1, left lung = 2, non-lung = 0}
27
28
\item{featuresFirst}{First level radiomic features to calculate}
29
30
\item{featuresSpatial}{Spatial radiomic features to calculate}
31
32
\item{partition}{Matrix of x, y, and z coordinates for each partition from partition_lung. If null, partition_lung is called.}
33
34
\item{kernel_size}{(If partition is null) Size of the kernel, in voxel units of width, depth, and height. Must be c(3,3,3) or greater. Default: c(30,30,30)}
35
36
\item{kernel_stride}{(If partition is null) Stride (or spacing) between kernels, in voxel units, for width, depth, and height. If kernel_stride = kernel_size, the partitions are non-overlapping. If stride = c(1,1,1), then each voxel is returned.}
37
38
\item{threshold}{Number of non-missing voxels needed to calculate radiomic features in each partition.}
39
40
\item{tidy}{Logical. If true, outputs a tidy dataframe with results. If false, outputs nested loop.}
41
}
42
\value{
43
Values from selected features for both left and right lungs
44
}
45
\description{
46
Calculate radiomic features on the partitioned 3D lung
47
}