Data for: Biology-informed virtual staining enables label-free detection of cell state transitions at the single-cell level ============================================================================== 1. Basic metadata ----------------- Dataset title: Data for: Biology-informed virtual staining enables label-free detection of cell state transitions at the single-cell level Responsible organization: Department of physics (University of Gothenburg). Dataset version and release date: v1 29/10/2026 Dataset DOI: https://doi.org/10.5878/h6ss-vd96 Related publication: Masó-Orriols, S.; Pineda, J.; Korczak, Z.; Midtvedt, B.; Antúnez Dominguez, J.; Masoliver, M.; Bertran, J.; Volpe, G.; Manzo, C.; Adiels, C. B. "Biology-informed virtual staining enables label-free detection of cell state transitions at the single-cell level." Machine Learning: Science and Technology, 2026. Accepted manuscript. DOI: https://doi.org/10.1088/2632-2153/aebff2 Terms of use: CC BY 4.0 (as stated in the dataset record; confirm that this covers the data and images you own). Third-party software components may have separate terms. Access restrictions: The dataset record currently states unrestricted access. Third-party code is included under code/third_party/deep_image_prior/. The listing includes LICENSE, APACHE-2.0.txt, and NOTICE.md. Consult and retain these component-specific notices; do not assume that the dataset licence replaces third-party terms. 1.1 Dataset overview -------------------- This dataset accompanies the study "Biology-informed virtual staining enables label-free detection of cell state transitions at the single-cell level." It provides training image groups, phase-contrast and fluorescence microscopy images, virtual-staining predictions, trained neural network models, human annotations, cell/crop definitions, and Python scripts supporting the analyses described in the associated manuscript. The study distinguishes experimentally measured chemical staining from two types of model prediction: virtual staining from initial models trained using measured fluorescence labels, and biology-informed staining from models fine-tuned using curated labels. The analysis package supports the calculation of population fluorescence curves, single-cell transition estimates, and quantitative comparisons between the two model families. The dataset is distributed in three ZIP archives: Training_images_organized.zip contains the training image collection. Biology informed data.zip contains the complete analysis package, including image inputs, trained models, metadata, code, and supporting documentation. Code_and_documentation.zip provides a separate copy of the analysis code, documentation, and provenance files. The additional code and documentation archive allows users to inspect the computational methods and software requirements without downloading the complete analysis dataset. The full Biology informed data.zip archive retains the original directory structure required to reproduce the analyses. Code_and_documentation.zip is provided for convenience and does not contain the image datasets or trained model weights. This README provides an overview so users can assess the contents before downloading the large archives. 2. Essential information for dataset reuse ------------------------------------------ 2.1 Meaning of the staining categories -------------------------------------- Chemical staining means fluorescence acquired experimentally using chemical markers. These images are measurements, not model predictions. Population results are obtained by measuring fluorescence, subtracting background, and normalizing the population curves. Virtual / raw-label staining means predictions from the initial models trained using measured fluorescence labels. The package includes stored prediction TIFFs. The supplied raw-label models and phase frames can also be used to regenerate the 360 prediction TIFFs described in the package README. Augmented / biology-informed staining means predictions from models fine-tuned using curated labels. The standard population workflow applies the supplied biology-informed models to the phase images and calculates background-corrected population measurements. Here, "augmented" follows the study's terminology for the biology-informed model family. It should not be interpreted as a statement that the images were merely rotated, flipped, or otherwise geometrically augmented. 2.2 Scope and acquisition relationships --------------------------------------- The population phase images used by both model families are included in data/population/chemical_live_dead/, with filenames matching *_RAW_ch00.tif. The same directory contains chemical live/dead fluorescence. Chemical apoptosis fluorescence is in data/population/chemical_apoptosis/ and comes from a separate acquisition. The two chemical acquisitions should therefore not be assumed to represent simultaneous measurements of the same cells. The quantitative comparison described in the package README evaluates 20 cells from 14 fields of view (FOVs), with 100 frames per cell, using annotations from three human evaluators. The analyses include state agreement, transition timing errors, and paired bootstrap comparisons. These numbers describe the evaluation analysis; they are not counts of training images. Figure 5 uses selected display images, intensity curves and detected transition intervals for cell 8, and transition intervals for cells 1-10. These figure-specific selections are distinct from the broader 20-cell quantitative comparison. Experimental context (reported in the associated manuscript): Human dermal microvascular endothelial cells (HMEC-1, ATCC CRL-3243) were cultured at 37 degrees C and 5% CO2 in supplemented MCDB131 medium. Cells were seeded into collagen-coated microfluidic devices comprising a 1 mm central outflow channel and two 500 micrometre inflow channels (49 micrometre height). Perfusion was maintained at 1 microlitre/min; oxidative stress was induced with 2 mM hydrogen peroxide (H2O2). Fluorescence markers were Calcein AM (2 micromolar, viable cells), CellEvent Caspase-3/7 Red (10 micromolar, apoptotic cells), and Ethidium Homodimer-1 (EthD-1, concentration reported as 1 mM in the manuscript). The experiments used different dye combinations, not simultaneous acquisition of all three markers in one population series. Imaging used a Leica DMI6000B inverted epifluorescence microscope with SOLA III u-nIR illumination and a Hamamatsu Orca Flash 4 camera, with a 20x HCX PL FLUOTAR objective (NA 0.40). Calcein AM was detected with a GFP filter set (20 ms exposure); Caspase-3/7 and EthD-1 with an mCherry filter set (150 ms and 65 ms exposures, respectively). Phase-contrast and fluorescence time-lapse images were acquired every 6 minutes for up to 12 hours. Training and curation (reported in the manuscript): The initial paired phase-contrast/fluorescence training sets comprised 3,957 live (Calcein AM), 1,861 apoptotic (Caspase-3/7), and 2,879 dead (EthD-1) image pairs. The network is described as an auxiliary classifier generative adversarial network (acGAN), including a U-Net generator, discriminator, and DenseNet121-based perceptual discriminator. Biology-informed curation retained image pairs consistent with morphology and excluded or replaced unreliable fluorescence regions with simulated shot noise. These are manuscript training-set counts, NOT independently verified archive file counts. 2.3 Primary inputs and generated results ---------------------------------------- Numerical tables are generated by the supplied scripts. No precomputed CSV table is required as an input to the documented analysis workflow. The annotation and cell/crop-definition spreadsheets are different: they are primary metadata and cannot be recovered from the images alone. They must remain available to the analyses that use them. Stored raw-label prediction images are also distinct from generated numerical tables. The standard population workflow uses the supplied prediction TIFFs while running fresh biology-informed inference. Selected display images, including folders labelled as denoised or range-adjusted, must be distinguished from the inputs used for quantitative measurements. Use the measurement inputs specified by the supplied workflow rather than substituting a display image on the basis of appearance. 2.4 Software and documented population commands ----------------------------------------------- The analysis scripts use Python. Follow the installation and workflow instructions in the README.md inside Biology informed data.zip. The code directory includes these dependency specification files: requirements-analysis.txt requirements-images.txt requirements-inference.txt requirements-figures.txt requirements-denoising.txt Use the requirements relevant to the intended workflow. Exact dependency versions and installation commands are not reproduced here because they must be taken from the actual package files. To reproduce the population curves, first extract Biology informed data.zip, preserve its internal structure, and open a terminal in the package root: the directory containing code/, data/, and models/. After installing the documented dependencies, run: python code/reproduce.py --step population This recalculates all three population curves and renders their figure panels. It uses the stored raw-label prediction images and fresh biology-informed inference. The required population phase images and model files are included; no additional phase-image download or model retraining is required for this step. To separately regenerate the raw-label population predictions and their table, run: python code/reproduce.py --step raw-population This optional step regenerates the 360 raw-label prediction TIFFs described in the package README. It does not replace the stored inputs used by the standard plotting workflow. Running it should not be described as automatically switching the standard population analysis to newly generated predictions. 2.5 Choosing what to download ----------------------------- The dataset is distributed in three ZIP archives, allowing users to select the material relevant to their needs. For users interested in inspecting the computational methods, software requirements, and supporting documentation, Code_and_documentation.zip provides the necessary files without requiring the download of the complete analysis dataset. For users wishing to reproduce the population fluorescence curves, single-cell analyses, model comparisons, and associated figures, Biology informed data.zip contains the required image inputs, trained models, metadata, and analysis scripts. The complete archive preserves the directory structure expected by the supplied Python scripts. Training_images_organized.zip contains the separate training image collection used in the development of the virtual staining models. Archive sizes: The dataset is distributed in two ZIP archives with a combined compressed size of approximately 79.99 GiB and a combined uncompressed file size of approximately 139.42 GiB. **Training_images_organized.zip** - Compressed size: 66.02 GiB. - Uncompressed file size: 119.69 GiB. - Total TIFF images: 17,394. - The archive contains paired phase-contrast and fluorescence training images organized into six groups. **Biology informed data.zip** - Compressed size: 13.97 GiB. - Uncompressed file size: 19.73 GiB. - Total TIFF images: 10,303. - The archive contains population image sequences, single-cell image sequences, raw evaluation images, figure inputs, trained neural network models, annotations, and analysis code. In total, the two archives contain 27,697 TIFF images. File sizes and image counts were calculated from ZIP archive metadata without extracting the archives. 3. Dataset organization ----------------------- The following maps summarize scientific content and omit individual image filenames. They are schematic, not exhaustive file listings. 3.1 Training_images_organized.zip --------------------------------- The archive lists six training groups and a README.md: Training group Phase Fluorescence Total pretrain_live 3,649 3,649 7,298 pretrain_apoptosis 1,483 1,483 2,966 pretrain_dead 2,460 2,460 4,920 augmented_live 308 308 616 augmented_apoptosis 378 378 756 augmented_dead 419 419 838 Total 8,697 8,697 17,394 The listing also shows recurring phase/ and fluorescence/ directories associated with the training groups. The names distinguish three target categories (apoptosis, dead, and live) and two training-group prefixes (pretrain_ and augmented_). The following interpretation is provisional, based on the names and the supplied study terminology: pretrain_ groups relate to initial raw-label training, while augmented_ groups relate to curated-label, biology-informed fine-tuning. Training-data reuse: The manuscript describes paired phase-contrast and fluorescence training and biology-informed curation of inconsistent fluorescence labels, including exclusion or replacement with simulated shot noise. 3.2 Biology informed data.zip ----------------------------- Biology informed data/ README.md documentation/ DATA_GUIDE.md DENOISING.md VERIFICATION.md code/ reproduce.py [other Python scripts and requirements files] third_party/ deep_image_prior/ models/ raw_label/ apoptosis/ dead/ live/ biology_informed/ apoptosis/ dead/ live/ provenance/ display_filename_mapping.json model_paths.json notebook_sources.json source_map.json data/ population/ chemical_live_dead/ chemical_apoptosis/ raw_label/ apop/ dead/ live/ single_cells/ cell1/ ... cell20/ metadata/ Evaluators analysis.xlsx cells data.xlsx evaluation_raw_manifest.json figure_input_files.json raw_evaluation/ README.txt figure_inputs/ README.txt augmented images denoised/ chemical images adjusted range/ virtual images/ denoising_inputs/ The analysis archive contains 10,303 TIFF images, distributed as follows: - Single-cell image sequences: 8,000 TIFF images (20 cells, each containing 100 frames for phase-contrast, live, apoptotic, and dead channels). - Raw evaluation images: 1,400 TIFF images. - Chemical live/dead population images: 360 TIFF images. - Chemical apoptosis population images: 120 TIFF images. - Raw-label population predictions: 360 TIFF images (120 images per staining category). - Figure and denoising inputs: 63 TIFF images. These counts were obtained from the ZIP archive directory information without extracting the files. Square-bracketed descriptions and cell1/ ... cell20/ are shorthand, not literal directory names. Preserve actual spaces and spelling when using paths. In particular, the population raw-label folder is listed as apop, whereas model and single-cell directories use apoptosis. Cell-specific listings show phase, live, dead, and apoptosis subdirectories, together with ROI files such as cell8.roi in the phase-image listings. The precise meaning of each single-cell image series, and its relationship to model outputs or experimental fluorescence, must be established from the internal documentation rather than the channel name alone. The raw_evaluation/ directory contains 1,400 TIFF images used in the quantitative evaluation workflow. The accompanying README.txt and data/metadata/evaluation_raw_manifest.json provide additional information for identifying and interpreting these evaluation inputs. 3.3 Code_and_documentation.zip ----------------------------- This archive provides a lightweight copy of the analysis code, documentation, and provenance files contained in Biology informed data.zip. Archive structure: Biology informed data/ README.md code/ reproduce.py Additional Python scripts and dependency files third_party/ documentation/ DATA_GUIDE.md DENOISING.md VERIFICATION.md provenance/ display_filename_mapping.json model_paths.json notebook_sources.json source_map.json The code directory contains Python scripts and dependency specifications used for population analysis, single-cell transition detection, quantitative model comparison, figure generation, and optional image denoising. The documentation directory contains instructions for interpreting the dataset, reproducing the computational analyses, and understanding the denoising and verification procedures. The provenance directory contains machine-readable information about model paths, file relationships, and the origin of figure inputs. This archive is intended for users who wish to examine the methods and software without downloading the full analysis package. The complete reproduction workflow requires Biology informed data.zip, which contains the necessary data, model weights, and analysis scripts. The files in Code_and_documentation.zip are copies of the corresponding files in Biology informed data.zip. No scientific data or trained model files have been modified to create this additional archive. 4. Datafile descriptions ------------------------ 4.1 Image files --------------- TIFF images (.tif and .tiff) are the image inputs and predictions described in the package README. Individual TIFF filenames were intentionally excluded from the supplied tree exports; their absence from those exports does not mean the archives lack images. The image categories include training image groups, population phase images, measured chemical fluorescence, stored raw-label predictions, single-cell image series, and selected figure/display inputs. The category must be determined from the dataset location and documentation, not from the TIFF extension alone. The confirmed population naming pattern *_RAW_ch00.tif identifies phase images in data/population/chemical_live_dead/. No general channel-number mapping for other images is established by that example. 4.2 Annotation and cell-definition spreadsheets ----------------------------------------------- Two workbooks are listed under data/metadata/: Evaluators analysis.xlsx and cells data.xlsx. The package README identifies human annotations and cell/crop definitions as primary metadata supplied in spreadsheets. The provisional interpretation of the filenames is that Evaluators analysis.xlsx contains evaluator-related information and cells data.xlsx contains cell-related metadata. 4.3 Cell ROI files ------------------ Files such as cell1.roi through cell20.roi are listed with the single-cell phase data. ROI means region of interest. 4.4 Trained model files ----------------------- Model directories are listed for two families, raw_label and biology_informed, each with live, dead, and apoptosis targets. Their contents include files named saved_model.pb, variable data/index files, and additional model metadata or assets where present. Keep each model directory intact. Use the loading code and dependency specifications supplied with the package rather than treating an individual .pb file as a complete interchangeable weight file. 4.5 Metadata and provenance JSON files -------------------------------------- The listed JSON files are data/metadata/evaluation_raw_manifest.json, data/metadata/figure_input_files.json, and the four files in provenance/: display_filename_mapping.json, model_paths.json, notebook_sources.json, and source_map.json. These files provide additional machine-readable metadata or provenance. 4.6 Code and supporting documentation ------------------------------------- The archive includes the documented entry point code/reproduce.py. Additional Python filenames present in the listing are: generate_population_tables.py infer_population.py infer_raw_population.py plot_population_figures.py infer_trajectories.py measure_single_cells.py reproduce_analysis.py residual_detector.py historical_figure5_detector.py plot_figure5.py compose_figure5.py denoise_display_images.py validate_paper_results.py Use the script table and workflow instructions in the complete internal README to identify the generating script for each result. This inventory does not imply that every script should be run independently or in the order shown. documentation/VERIFICATION.md records agreement with the manuscript and observed numerical differences, according to the supplied package README. Consult it when assessing reproduction results. documentation/DATA_GUIDE.md and documentation/DENOISING.md are additional documentation files. Local README.txt files are also listed in data/raw_evaluation/ and data/figure_inputs/. For easier access, the analysis code, documentation, and provenance files are also distributed separately in Code_and_documentation.zip. These files are identical to the corresponding files in Biology informed data.zip and can be inspected without downloading the full analysis archive. 5. Reference information ------------------------ 5.1 Relationship to the article ------------------------------- Figure 2: Chemical staining: measured live/dead and apoptosis fluorescence sequences, background correction, and normalized population curves. Figure 3b-c: Virtual/raw-label staining: initial-model prediction images and their integrated population fluorescence curves. The prediction images can also be regenerated from the included phase frames. Figure 4b-c: Augmented/biology-informed staining: fine-tuned-model image panels and population curves calculated through fresh inference on the phase frames. Figure 5: Biology-informed single-cell staining: selected display images in panel 5a; example intensity curves and detected transition intervals in panel 5b; and intervals for 10 individual cells in panel 5c. The analysis-package README identifies cell 8 for panel 5b and cells 1-10 for panel 5c. Additional quantitative analysis documented in the analysis-package README: Comparison of both model families on 20 cells from 14 FOVs over 100 frames each, using three human evaluators; includes state agreement, transition timing errors, and paired bootstrap analyses. Figures 1, 3a, and 4a: Manual illustrations, not outputs of the analysis code. 5.2 Single-cell transition analysis ----------------------------------- The manuscript describes extracting live, apoptotic, and dead virtual fluorescence intensity traces from individual cells. Signals were smoothed with a five-frame moving average, and residuals between raw and smoothed traces were used to estimate noise. The smoothed curves were linearly interpolated to 1,000 time points. Transitions were detected from pairwise differences (live versus apoptotic, and apoptotic versus dead) crossing an estimated noise band. Transition times were defined as interval midpoints, with uncertainty estimated as half the interval width. Figure 5 reports results for 10 cells. The analysis-package README separately describes a 20-cell evaluation using three human evaluators. 5.3 Interpretation and limitations ---------------------------------- Chemical fluorescence and virtual staining are different kinds of data: experimentally measured signals and model predictions, respectively. Biology-informed predictions should not be relabelled as direct chemical measurements. The chemical apoptosis population sequence is a separate acquisition from the live/dead sequence. Acquisition relationships, temporal alignment, and sample identity must be respected when reusing these data. Figure/display inputs labelled as denoised or range-adjusted should not be assumed to have the same values as the measurement inputs. Read the relevant documentation and use the input files specified by the quantitative workflow. The existence of VERIFICATION.md is not a claim of exact numerical identity for every result. The package README explicitly notes that this document records observed differences as well as agreement. The training image collection does not, by itself, establish how to reproduce model training. Training splits, matching rules, curation, preprocessing, and training settings must be documented for that purpose. 5.4 Abbreviations and terminology --------------------------------- FOV: Field of view. ROI: Region of interest. Raw-label / virtual: Initial-model predictions from models trained with measured fluorescence labels. Biology-informed / augmented: Predictions from models fine-tuned with curated labels, following the terminology of the study. apop: The abbreviated directory label used for apoptosis in the population raw-label listing. CSV: Comma-separated values; numerical analysis tables are generated rather than required as precomputed inputs. 5.5 Citation and provenance --------------------------- Cite the dataset using the recommended citation in Section 1 and cite the associated article when describing the scientific approach or results. Preserve component-specific third-party notices when reusing code.