radiomics_slice: Radiomic Calculation on CT Slices

Description Usage Arguments Value

View source: R/radiomics_slice.R

Description

Calculate radiomic features on the each 2D slice of the whole 3D lung, right and left lungs separately

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
radiomics_slice(
  img,
  mask,
  sides = c("right", "left"),
  plane = "axial",
  featuresFirst = c("mean", "sd", "skew", "kurtosis", "min", "q1", "median", "q3",
    "max", "energy", "rms", "uniformity", "entropy"),
  featuresSpatial = c("mi", "gc", "fd"),
  tidy = TRUE,
  reduce = TRUE
)

Arguments

img

CT scan in ANTs image file format

mask

Mask of CT scan in ANTs image file format

sides

Choose to calculate radiomic features on the right and/or left lungs. Note: Right lung = 1, left lung = 2, non-lung = 0

plane

One of: axial, coronal, sagittal

featuresFirst

First level radiomic features to calculate

featuresSpatial

Spatial radiomic features to calculate

tidy

Logical. If true, outputs a tidy dataframe with results. If false, outputs nested loop.

reduce

Logical. If true, reduces the dimensions of the scan based on extent of mask using reduce_scan.

Value

Radiomic values from every slice in both the right and left lungs


muschellij2/lungct documentation built on July 13, 2020, 2:17 p.m.