Learn R Programming

gtexture (version 1.0.0)

Generalized Application of Co-Occurrence Matrices and Haralick Texture

Description

Generalizes application of gray-level co-occurrence matrix (GLCM) metrics to objects outside of images. The current focus is to apply GLCM metrics to the study of biological networks and fitness landscapes that are used in studying evolutionary medicine and biology, particularly the evolution of cancer resistance. The package was developed as part of the author's publication in Physics in Medicine and Biology Barker-Clarke et al. (2023) . A general reference to learn more about mathematical oncology can be found at Rockne et al. (2019) .

Copy Link

Version

Install

install.packages('gtexture')

Monthly Downloads

169

Version

1.0.0

License

MIT + file LICENSE

Maintainer

Rowan Barker-Clarke

Last Published

April 8th, 2024

Functions in gtexture (1.0.0)

glcm_marginals

Marginal distributions of the GLCM
%>%

Pipe operator
max_prob

Maximum Probability Metric for a GLCM
normalize_glcm

Normalize a GLCM
sum_squares

Sum of Squares Metric for a GLCM
manhattan

Manhattan Distance Function Factory
quantile_discrete

Function to discretize based on quantiles
cluster_shade

Cluster Shade Metric for a GLCM
dissimilarity.matrix

Dissimilarity of a co-occurrence matrix
comat

Calculate Co-Occurrence Matrix
differenceEntropy.matrix

Difference entropy is the entropy of marginal distribution of the difference in gray-level value equivalents x-y
contrast

Contrast Metric for a GLCM
compute_all_metrics

Convenience function to compute all haralick texture features
discretize

Discretize Numeric Variable Into Categories
autocorrelation

Autocorrelation Metric for a GLCM or GLCM equivalent matrix
cluster_prom

Cluster Prominence Metric for a GLCM
correlation

Correlation Metric for a GLCM
euclidean

Euclidean Distance Function Factory
equal_discrete

Function Factory for Even Discretization Functions
kmeans_discrete

Kmeans clustering discretization
homogeneity

Homogeneity Metric for a GLCM
energy

Energy Metric for a GLCM
glcm_statistics

Statistics of GLCM
inv_diff

Inverse Difference Metric for a GLCM
entropy

Entropy Metric for a GLCM