Learn R Programming

BioThermR: an R package for standardized processing, visualization, and statistical analysis of thermal imaging data in animal studies

BioThermR is an R package designed to provide an end-to-end analysis pipeline for infrared thermography (IRT) data in animal experimentation. It addresses the lack of standardized, reproducible, and batch-processing workflows in current thermal imaging analysis.


Find out more at https://github.com/RightSZ/BioThermR

Installation

BioThermR relies on EBImage from Bioconductor for image processing. Please install it first:

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("EBImage")

Install the latest development version from GitHub as follow:

if (!require("devtools", quietly = TRUE))
    install.packages("devtools")
devtools::install_github("RightSZ/BioThermR")

CRAN availability

Submission to CRAN is currently in progress. The package will be available on CRAN upon acceptance.

License

This package is licensed under the GPL-3.0 License. See the LICENSE file for details.

Copy Link

Version

Install

install.packages('BioThermR')

Version

0.1.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

BeiHao Li

Last Published

January 21st, 2026

Functions in BioThermR (0.1.0)

read_thermal_raw

Read a Single .raw Thermal Image File
save_biothermr

Save BioThermR Data Objects to Disk
roi_segment_ebimage

Automated ROI Segmentation via EBImage
plot_thermal_density

Visualize Temperature Distribution (Density Plot)
plot_thermal_heatmap

Visualize Thermal Matrix as 2D Heatmap
viz_thermal_montage2

Create a Thermal Image Montage
aggregate_replicates

Aggregate Technical Replicates for Statistical Rigor
create_BioThermR

Create BioThermR Object from Data
compile_batch_stats

Compile Batch Statistics into a Tidy Data Frame
analyze_thermal_stats

Calculate Comprehensive Thermal Statistics
merge_clinical_data

Merge Thermal Stats with Clinical Data
BioThermR-package

BioThermR: Standardized Processing and Analysis of Thermal Imaging Data in Animal Studies
as_EBImage

Convert BioThermR Object to EBImage Object
plot_roi_overlap

Visualize ROI Overlap and Dice Coefficient
load_biothermr

Load BioThermR Data from Disk
from_EBImage

Import EBImage Object into BioThermR
read_thermal_batch

Batch Read .raw Files
read_thermal_flir

Read FLIR Radiometric JPG File
plot_thermal_montage

Create a Gap-Free Thermal Image Montage
viz_thermal_barplot

Generate Publication-Ready Comparative Barplots
plot_thermal_cloud

Generate a "Thermal Cloud" Visualization (Phyllotaxis Layout)
plot_thermal_3d

Interactive 3D Thermal Surface Plot
viz_thermal_boxplot

Generate Publication-Ready Comparative Boxplots
roi_filter_threshold

Filter Thermal Image by Temperature Thresholds
roi_filter_interactive

Interactive ROI Selector with Denoising (Shiny App)