Package: gtexture 0.1.0

Rowan Barker-Clarke

gtexture: Generalized Application of Co-Occurrence Matrices and Haralick Texture

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 used in our publication, Barker-Clarke et al. (2023) <doi:10.1088/1361-6560/ace305>. A general reference to learn more about mathematical oncology can be found at Rockne et al. (2019) <doi:10.1088/1478-3975/ab1a09>.

Authors:Rowan Barker-Clarke [aut, cre], Raoul Wadhwa [aut], Davis Weaver [aut], Jacob Scott [aut]

gtexture_0.1.0.tar.gz
gtexture_0.1.0.zip(r-4.5)gtexture_0.1.0.zip(r-4.4)gtexture_0.1.0.zip(r-4.3)
gtexture_0.1.0.tgz(r-4.4-any)gtexture_0.1.0.tgz(r-4.3-any)
gtexture_0.1.0.tar.gz(r-4.5-noble)gtexture_0.1.0.tar.gz(r-4.4-noble)
gtexture_0.1.0.tgz(r-4.4-emscripten)gtexture_0.1.0.tgz(r-4.3-emscripten)
gtexture.pdf |gtexture.html
gtexture/json (API)

# Install 'gtexture' in R:
install.packages('gtexture', repos = c('https://rbarkerclarke.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rbarkerclarke/gtexture/issues

On CRAN:

22 exports 1.01 score 129 dependencies 1 scripts 149 downloads

Last updated 6 months agofrom:a70421439f. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 06 2024
R-4.5-winNOTESep 06 2024
R-4.5-linuxNOTESep 06 2024
R-4.4-winNOTESep 06 2024
R-4.4-macNOTESep 06 2024
R-4.3-winNOTESep 06 2024
R-4.3-macNOTESep 06 2024

Exports:%>%autocorrelationcluster_promcluster_shadecompute_all_metricscontrastcorrelationdiscretizeenergyentropyequal_discreteeuclideanget_comatrixhomogeneityinv_diffkmeans_discretemanhattanmax_probnormalize_glcmquantile_discretesum_squaresxplusy_k

Dependencies:AsioHeadersbackportsbase64encbitbit64bookdownbootbroombslibcachemclicliprcodetoolscolorspacecommonmarkcpp11crayondigestdlookrdplyrevaluateextrafontextrafontdbfansifarverfastmapfitscapefontawesomefontBitstreamVerafontLiberationfontquiverforcatsforeachfsgdtoolsgenericsggplot2glmnetgluegridExtragtablehavenhighrhmshrbrthemeshtmltoolshtmlwidgetshttpuvigraphisobanditeratorsjomojquerylibjsonlitekableExtraknitrlabelinglaterlatticelifecyclelme4magrittrMASSMatrixmemoisemgcvmicemimeminqamitmlmunsellnlmenloptrnnetnumDerivordinalpagedownpanpillarpkgconfigprettyunitsprocessxprogresspromisespspurrrR6rappdirsRColorBrewerRcppRcppEigenreactablereactRreadrrlangrmarkdownrpartrstudioapiRttf2pt1sassscalesservrshapeshinyshowtextshowtextdbsourcetoolsstringistringrsurvivalsvglitesysfontssystemfontstibbletidyrtidyselecttinytextzdbucminfutf8vctrsviridisLitevroomwebsocketwithrxfunxml2xtableyaml

Readme and manuals

Help Manual

Help pageTopics
Autocorrelation Metric for a GLCMautocorrelation autocorrelation.default autocorrelation.FitLandDF autocorrelation.matrix
Cluster Prominence Metric for a GLCMcluster_prom cluster_prom.default cluster_prom.FitLandDF cluster_prom.matrix
Cluster Shade Metric for a GLCMcluster_shade cluster_shade.default cluster_shade.FitLandDF cluster_shade.matrix
Calculate Co-Occurrence Matrixcomat get_comatrix get_comatrix.default get_comatrix.FitLandDF get_comatrix.igraph
Convenience function to compute all haralick texture features for a given comatcompute_all_metrics
Contrast Metric for a GLCMcontrast contrast.default contrast.FitLandDF contrast.matrix
Correlation Metric for a GLCMcorrelation correlation.default correlation.FitLandDF correlation.matrix
Discretize Numeric Variable Into Categoriesdiscretize discretize.FitLandDF discretize.integer discretize.list discretize.numeric
Energy Metric for a GLCMenergy energy.default energy.FitLandDF energy.matrix
Entropy Metric for a GLCMentropy entropy.default entropy.FitLandDF entropy.matrix
Function Factory for Even Discretization Functionsequal_discrete
Euclidean Distance Function Factoryeuclidean
GLCM Metricsglcm_metrics glcm_variance xplusy_k
Homogeneity Metric for a GLCMhomogeneity homogeneity.default homogeneity.FitLandDF homogeneity.matrix
Inverse Difference Metric for a GLCMinv_diff inv_diff.default inv_diff.FitLandDF inv_diff.matrix
Kmeans clustering discretization Splitting of a vector of continuous values into k groups function to discretize using kmeanskmeans_discrete
Manhattan Distance Function Factorymanhattan
Maximum Probability Metric for a GLCMmax_prob max_prob.default max_prob.FitLandDF max_prob.matrix
Normalize a GLCMnormalize_glcm
Function to discretize based on quantilesquantile_discrete
Sum of Squares Metric for a GLCMsum_squares sum_squares.default sum_squares.FitLandDF sum_squares.matrix