Blog

Outsource Multiplex Immunofluorescence Analysis or Build It In-House?

A decision guide for labs, pharma and pathology teams: what to outsource in mIF image analysis, what to keep in-house, and how to specify the project.

The question is usually framed as a software question — do we buy an analysis platform or run open-source QuPath ourselves. It is really a scope question: which parts of multiplex immunofluorescence (mIF) analysis travel well to a service, and which stay with the people who understand the biology. Three routes exist: build in-house on QuPath plus your own scripting, hand the analysis to a specialist service, or split it so your lab keeps staining and scanning while a specialist does the images.

This is a decision guide, not a method tutorial. The method-level walkthrough — channel checks, segmentation, phenotype assignment, spatial metrics and sample-level aggregation — is in our mIF image analysis workflow article. What follows is how to scope the work, compare the routes, write a specification for a vendor, and know each route’s failure modes.

Conceptual decision schematic with three side-by-side routes — build in-house, outsource analysis, hybrid split — above a due-diligence list of six items to demand before quotes are comparable

Conceptual schematic only: not microscopy data, not a measured result and not vendor performance data. The editorial framework below decides what applies to your study.

Decide what is actually being outsourced

The unit of outsourcing is not the software and not the slide. It is a method: a named, written, repeatable procedure turning specified inputs into specified outputs. A service can take over a method already pinned down, but not the part of the project where the method does not exist yet.

That boundary is well described in the core-facility literature. Analysis-as-a-service is considered reasonable “in case scientific questions can be answered using workflows and techniques that are highly standardised”, but it “may not be possible to provide such a service in exploratory bioimage analysis projects, which typically demand a high level of interaction between data provider and bioimage analyst”.3

The following split is an editorial proposal, not a published standard.

Analysis activity Does it travel to a service? Reason
Image asset QC, channel mapping, region selection Usually yes Rule-based, defined up front
Segmentation and phenotype assignment on a locked workflow Yes, if parameters and marker rules are fixed Comparable only if reference annotations are shared
Spatial metrics on pre-defined endpoints Yes Endpoints set before the run
Batch processing at study scale Yes Where a service adds most capacity
New panel development, new thresholds Usually no Method does not exist yet
Choosing the question and endpoints; interpreting results No The scientific owner’s job; needs your data and model

For orientation, the TerryDR service page lists eight project types and a six-step process from project discussion to result delivery.16 That is a manufacturer’s description of its own scope, not evidence that any scope is outsourceable.

Compare the routes on staffing and cost

The cost of an in-house build is rarely the software. QuPath is open source and its command line can run scripts headlessly with parameters passed through --args, so an in-house pipeline is achievable at study scale.4 The real costs are analyst hours, review capacity to check somebody else’s first result, storage and transfer for large images, and the risk that one person’s method knowledge quietly becomes the pipeline.

That last risk is documented. The core-facility review notes that if the expertise needed to execute a developed workflow resides exclusively with the service’s own experts, it is fair to ask how reproducible the results are in practice.3 The French F-BIAS network sees the same pressure: analyst availability, not tooling, delays projects — “This low availability is the main factor delaying image analysis projects” — and it was created to counter the isolation of a team’s only expert.13

A service engagement buys capacity and method continuity, and it also buys the vendor’s assumptions, which you have to inspect deliberately. Public cores price collaborative work by charging an hourly fee against projected effort.13 Commercial vendors quote per project; no price is asserted here, because published list prices for mIF analysis are not verifiable.

Cost driver In-house build Fully outsourced Hybrid (lab stains/scans, specialist analyses)
Method development time Entirely yours Included, but you must review it Mostly the specialist’s
Second-reader review capacity You must find it Should be in the contract You keep it for endpoints
Storage, transfer, re-analysis Yours Largely the vendor’s, until handback Split
Method documentation Yours to write You must demand it Shared
Continuity if key staff leave High risk Lower risk, but you lose the knowledge Mixed
Marginal cost per slide at scale Your analyst hours Per-slide or per-project pricing Lowest
Time to first defensible result Usually longest Shortest if the method exists Middle

Fill these rows with your own numbers. One hard fact carries into the comparison: an “in-house” pipeline with one operator and no reviewer is cheaper per slide and riskier per conclusion.

The manufacturer’s own framing is worth reading in this light: its solutions page lists lack of dedicated image analysis staff and the learning curve of QuPath and code among the pain points it addresses.18 That is marketing copy — intent, not evidence.

Write the specification before you compare quotes

Two vendors quoting the same study will produce different results unless they answer the same question. The specification makes quotes comparable and an outsourced analysis defensible later.

The consensus reporting checklist for mIF/IHC studies gives a useful vocabulary: it lists what authors are expected to state — the image analysis workflow including tissue and cell segmentation, how positive or negative staining was determined, how phenotypes and batch correction were determined, and the software used with name, version and modules.1 A specification should carry that information before the work starts.

A workable specification has six blocks:

  1. Question and endpoints. The biological question, the numeric endpoints, the comparison to be made, and the denominator (per patient, per region, per slide). If the endpoints are not written down, no vendor can be held to them. Our mIF drug development guide covers how a spatial endpoint is chosen before the work starts.
  2. Panel and staining basis. The marker panel, the single-stain reference for each target, and the triggers that force revalidation. The SITC staining guidance makes single chromogenic IHC the reference for multiplex method development, asks for reproducibility across batches and days with per-batch controls, and requires revalidation when target order changes or an antibody moves to another fluorophore.6
  3. Samples and images. Slide inventory, file format, channel-to-marker map, pixel size, and whether multi-round data is registered — the delivery items covered in our mIF file format guide. Region selection must be specified too, since describing the ROI approach is what makes comparison possible.2
  4. Analysis workflow. Segmentation method, phenotype rule definitions, and how batch and site differences are handled. This is where a vendor’s assumptions surface, so ask for algorithm family and parameters rather than a product name.
  5. Deliverables and format. Final tables, per-object coordinates and measurements, overlay images, intermediate process data, and the parameters or code needed to regenerate them. The reporting checklist asks for a persistent identifier for code or run parameters.1 For image metadata, MITI defines a field-level, machine-readable minimum information standard for multiplexed tissue images.910
  6. Review rounds and timing. How many rounds of result review, who performs them, what triggers a re-run, and what each stage takes. A stage with no defined review round has no acceptance criterion.

Due diligence: what to ask for, and how to check it

The difference between a good service engagement and a black box is almost entirely in what you are given to audit. Ask for these six things, and check each against your specification.

Reference annotations. A set of regions with independently reviewed calls, and the criteria used. Harmonisation across laboratories is done stepwise, one variable at a time, and reference tissues are recommended to validate markers and maintain comparability afterwards.8 In that multi-centre effort, an intersite Spearman correlation of at least 0.85 per marker and an average coefficient of variation of 0.1 or below were reported at final validation — a result for that study, not a guarantee for any two laboratories.8

QC records, at every stage. Pre-analytic, analytic and post-analytic. Internal QC monitors daily reproducibility in one laboratory; comparing results across laboratories requires external quality assessment.7 Standardising the reasons for excluding regions reduces interobserver variability.7 A template for the questions comes from adjacent tissue-handling practice: ISO 20387 sets general requirements for the competence, impartiality and consistent operation of biobanks, including quality control of material and associated data.14 That standard governs biobanking, not image analysis, and no claim is made here that any provider holds it — it is a checklist to borrow. Third-party assessment demonstrates compliance and instils user confidence.15

Process data, not just results. The SITC analysis guidance recommends sharing raw outputs, processed results, key analysis programs and source code, and representative photomicrographs.2 For an engagement, that means asking for regions of interest, detections and per-object measurements, not only summary tables — plus software name, version and modules.1

Re-verification. Ask that quantitative outputs can be re-checked against the images they came from. The manufacturer’s service page states that results are cross-verified with the raw image, ROI and detection outputs, that each client gets a separate project account, and that cloud storage supports long-term retention and on-demand audit.16 Treat these as claims to be tested with a reference example and a named reviewer, not as a substitute for your own review.

Data retention and handback. Decide what you must be able to do with the data afterwards: re-analyse, audit, publish, or train something. The FAIR principles are a practical anchor — metadata should remain accessible even when the data are no longer available, and access may legitimately require authentication and authorisation.11 MITI’s field-level specification is a concrete model for what “described enough to reuse” means for tissue images.10

The named human. Who reviews your results, what their training is, and what happens when they are away.

The five blocks a scope has to fix before any image is sent — data, method, parameters, deliverables and acceptance — are set out in evaluating an mIF analysis service.

Failure modes on both sides

Failure mode In-house build Outsourced service
Unvalidated thresholds Developed on the slides they are applied to Opaque unless reference annotations are exchanged
Single-operator dependence One person holds the method; absence stops it The method lives in the vendor; you lose it if it is not handed back
No peer review No second reader has time Results arrive as a table nobody reviews
Black-box output At least the script is readable You cannot inspect what produced a number
Unclear handback You own everything, including the mess You own nothing
Throughput collapse on big cohorts Manual processing of large image sets is slow and error-prone Depends on the vendor’s capacity and queue
Silent divergence between “the script” and “what was run” Hand-drawn annotations and manual steps are not captured in QuPath’s command history, so a workflow can drift from the procedure it encodes5 The same drift is invisible if parameters are not handed over

Neither route is safe by default. Batch effects and phenotype misclassification are common mIF quality-control problems, and they do not announce themselves.12 The remedy is the same on both sides: a written specification, a version-locked method, reference annotations, and a review step before numbers leave your building.

The hybrid split in practice

The most common workable structure for a lab that already has a scanner and a staining workflow is to keep pre-analytics close to home while buying the image analysis: your lab stains, scans and owns the samples; the specialist owns segmentation, phenotyping and spatial metrics.

The interface is the image, so the contract is the analysis specification. Upstream, your lab guarantees the panel, staining and acquisition: single-stain references and per-batch controls, revalidation triggers when the panel changes,6 and a documented channel map and acquisition setting — see our signal intensity and image registration guides. Downstream, the specialist guarantees a locked parameter set, QC records, reference annotations, process data, a named reviewer and a set number of review rounds.

Hybrid often carries the best value, with two conditions. Somebody on your side must still be able to judge the output — if nobody internally can read a phenotype table critically, hybrid collapses into full outsourcing with extra steps. And you still pay for scanning, transfer and storage, so the saving is in analyst time, not imaging cost.

The evidence that two sites can be brought into agreement on multiplex quantification comes from multi-centre work, where comparability was achieved by harmonising stepwise and using reference tissues, with harmonised data reported as achievable regardless of platform.8 That argues for specifying comparison deliberately, not for expecting a match.

A decision checklist

  1. Can the analysis be written down as a method someone who did not design it could execute? If not, it stays in-house for now.
  2. Is there someone on your team who can judge the output critically? If not, buy review capacity explicitly.
  3. Is analyst time, rather than imaging time, the bottleneck? Outsource the bottleneck — often not the one you assumed.
  4. Are the endpoints and acceptance criteria written before quotes are requested?
  5. What must you be able to do with the data afterwards? That determines the handback, retention and re-verification clauses.
  6. Which step is limiting the study: staining, scanning, or analysis?

One practical suggestion: run a pilot study first to test the interface and reporting quality, then decide whether to scale, switch in-house, or keep the split — an editorial recommendation, not a sourced finding.

A worksheet to make the decision concrete

The project specification worksheet and its field guide record the scope, the vendor comparison and the due-diligence answers in one place. The CSV contains headers only — no default thresholds, no sample data and no implied validation.

Where this leads for TerryDR

If you are weighing a service engagement against an in-house QuPath build, the relevant pages are the mIF image analysis workflow guide, the mIF image analysis service, the mIF image analysis software — whose page describes TR-AI plus eight QuPath modules, the stack an in-house build would use17 — and solutions for hospitals / research labs / pharma, which maps hospital pathology, research labs, pharma and CRO, OEM/ODM vendors and third-party testing labs.

The useful first conversation is not a generic quote. It is a project-specific plan: what the service needs from you (sample type, staining, image format, research goal, expected metrics — the inputs named in the manufacturer’s own first workflow step16), what it delivers back, how many review rounds are included, and how the handback is documented. Ask for that, then compare it against the worksheet. You can request a consultation when the specification is drafted. For the upstream decisions it depends on, see our panel design guide, TSA staining QC checklist and cell phenotyping articles.

Frequently asked questions

Is outsourcing always cheaper than building in-house?

No, and the comparison is not a price list. It is your analyst hours, review capacity, storage, and the cost of a wrong result. The F-BIAS account of shared service delivery names the realistic drivers: analyst availability, billing by projected effort, and pooling specialist effort across sites.13 Build the comparison with your own numbers; treat any published per-slide price as unverified.

Can we keep our data and our method if we outsource?

That is a contract question, and it belongs in the specification rather than at handback. Publishable mIF work is expected to share processed results, key analysis programs and source code, and to link a persistent identifier for code or run parameters.21 MITI specifies the metadata fields that make an image dataset reusable by someone else.10 Ask for process data, parameters and retention terms, and put them in the acceptance criteria.

Will an outsourced analysis satisfy a journal or a reviewer?

Reviewers ask for the method to be reported and reproducible. The SITC consensus checklist sets out what a manuscript must state about image acquisition, the analysis workflow, the data analysis and data transparency.1 To make outsourcing publishable, hold the provider to the reporting elements you would have reported yourself, and keep the reference annotations and review records behind them.

Sources

[1] https://pmc.ncbi.nlm.nih.gov/articles/PMC12718562 — Society for Immunotherapy of Cancer: Standards for Reporting of Multiplex Immunohistochemistry/Immunofluorescence Assays (STORMI)

[2] https://pmc.ncbi.nlm.nih.gov/articles/PMC11749220 — Society for Immunotherapy of Cancer: updates and best practices for multiplex immunohistochemistry (IHC) and immunofluorescence (IF) image analysis and data sharing

[3] https://ovid.com/journals/jmic/fulltext/10.1111/jmi.13192~challenges-and-opportunities-for-bioimage-analysis — Challenges and opportunities for bioimage analysis core-facilities (Journal of Microscopy 294:338-349)

[4] https://qupath.readthedocs.io/en/latest/docs/advanced/command_line.html — Command line - QuPath 0.7.0 documentation

[5] https://qupath.readthedocs.io/en/stable/docs/scripting/workflows_to_scripts.html — Workflows to scripts - QuPath documentation

[6] https://pmc.ncbi.nlm.nih.gov/articles/PMC7239569 — The Society for Immunotherapy in Cancer statement on best practices for multiplex immunohistochemistry (IHC) and immunofluorescence (IF) staining and validation

[7] https://pmc.ncbi.nlm.nih.gov/articles/PMC8438151 — Best Practices for Technical Reproducibility Assessment of Multiplex Immunofluorescence

[8] https://pmc.ncbi.nlm.nih.gov/articles/PMC9777693 — Multiplex Tissue Imaging Harmonization: A Multicenter Experience from CIMAC-CIDC Immuno-Oncology Biomarkers Network

[9] https://arxiv.org/abs/2108.09499 — MITI Minimum Information guidelines for highly multiplexed tissue images

[10] https://github.com/miti-consortium/MITI — MITI: Minimum Information about Tissue Imaging (consortium specification repository)

[11] https://www.go-fair.org/fair-principles — The FAIR Guiding Principles - GO FAIR

[12] https://pmc.ncbi.nlm.nih.gov/articles/PMC8233801 — Challenges and Opportunities in the Statistical Analysis of Multiplex Immunofluorescence Data

[13] https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1013058 — F-BIAS: Towards a distributed national core facility for bioimage analysis

[14] https://www.iso.org/standard/67888.html — ISO 20387:2018 - Biotechnology - Biobanking - General requirements for biobanking

[15] https://europepmc.org/article/MED/33147079 — A Biobank’s Journey: Implementation of a Quality Management System and Accreditation to ISO 20387

[16] https://www.pathoaxis.com/service — mIF Image Analysis Service - TerryDR

[17] https://www.pathoaxis.com/software — mIF Image Analysis Software - TerryDR

[18] https://www.pathoaxis.com/solutions — Solutions by Industry - TerryDR

Ready to run this on your own slides?

Send us a sample image or your panel design. A TerryDR specialist replies within one business day with a flat analysis plan or a product recommendation.

Talk to a TerryDR specialistSee the mIF analysis service →
✉ Contact Us