View source: R/radiomics_slice.R
| radiomics_slice | R Documentation | 
Calculate radiomic features on the each 2D slice of the whole 3D lung, right and left lungs separately
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
)
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.  | 
Radiomic values from every slice in both the right and left lungs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.