glrlm_stat_all: Aggregates GLRLM-based statistics based-on supplied function

Description Usage Arguments Value References Examples

View source: R/glrlm_stat_all.R

Description

Calculates aggregated statistics of GLRLM matrix statistics calculated on GLRLM matrices evaluated in all different directions.

Usage

1
2
glrlm_stat_all(RIA_data_in, statistic = "mean(X, na.rm = TRUE)",
  verbose_in = TRUE)

Arguments

RIA_data_in

RIA_image.

statistic

string, defining the statistic to be calculated on the array of GLRLM statistics. By default, statistic is set to "mean", however any function may be provided. The proper syntax is: function(X, attributes). The supplied string must contain a "X", which will be replaced with the array of the GLRLM statistics value. Further attributes of the function may also be given. For example, if you wish to calculate the median of all GLRLMs calculated in different directions, then it must be supplied as: median(X, na.rm = TRUE).

verbose_in

logical, indicating whether to print detailed information. Most prints can also be suppressed using the suppressMessages function.

Value

RIA_image containing the statistical information.

References

Márton KOLOSSVÁRY et al. Radiomic Features Are Superior to Conventional Quantitative Computed Tomographic Metrics to Identify Coronary Plaques With Napkin-Ring Sign Circulation: Cardiovascular Imaging (2017). DOI: 10.1161/circimaging.117.006843 https://www.ncbi.nlm.nih.gov/pubmed/29233836

Márton KOLOSSVÁRY et al. Cardiac Computed Tomography Radiomics: A Comprehensive Review on Radiomic Techniques. Journal of Thoracic Imaging (2018). DOI: 10.1097/RTI.0000000000000268 https://www.ncbi.nlm.nih.gov/pubmed/28346329

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
#Discretize loaded image and then calculate GLCM statistics for all matrices
RIA_image <- discretize(RIA_image, bins_in = c(4, 8), equal_prob = TRUE,
use_orig = TRUE, write_orig = FALSE)
RIA_image <- glrlm_all(RIA_image, use_type = "discretized")
RIA_image <- glrlm_stat(RIA_image)

#Calculate the average of the different GLCM matrices in the different directions
RIA_image <- glrlm_stat_all(RIA_image)

## End(Not run)

neuroconductor/RIA documentation built on May 21, 2021, 6:56 a.m.