WellScape – Microplate Experimental Design and Randomization
WellScape is an interactive tool for designing experiments using 12-, 24-, and 96-well microplates. Users can define up to ten treatment groups, specify replicate numbers, and assign treatments to wells using ordered, completely randomized, stratified randomized, or compact-block designs.
Note 1
Edge effects on plates refers to conditions of the wells differing between those in the inner portion of the plate compared to the corner wells and other wells along the outer rows (edges). Of course, one option is to not place samples in these wells, but with small plates, this is impractical. We used edge effects scenario to discuss sampling schemes in Chapter 5.6 – Sampling from Populations in Mike’s Biostatistics Book, which contains references to the problem and provides the inspiration for the design of WellScape.
Built-in spatial diagnostics help users identify potential treatment clustering and confounding associated with plate edge effects. A dispensing-run metric — treatment changes during pipetting — helps users evaluate the practical trade-offs between randomization and laboratory workflow.
For the heat map, we use the signed difference,
, between observed and expected. Two heat maps, one for row association and the other for column association patterns. For example, expected treatment frequencies for treatment
and row
— the same calculation is done for the columns — the expected count is defined as
![]()
where:
= total wells assigned to treatment
.
= total occupied wells in row
.
= total treatment-assigned wells.
Interpretation of the acceptance criteria.
Spatial clustering. The acceptance criterion uses the ratio
![]()
where
is the observed number of same-treatment adjacent pairs and
is the expected number under unrestricted random labeling.
Ratio Interpretation
0 No same-treatment adjacency
0.5 Half the expected adjacency
1.0 Expected adjacency
1.2 20% more adjacency than expected
2.0 Twice the expected adjacency
A default maximum of 1.2 permits modest clustering without requiring excessive spatial dispersion.
Row and column imbalance. The criterion is the maximum absolute deviation between observed and expected treatment counts across all rows or columns.
![]()
For example, a threshold of 2 means that no treatment in any row may differ from its expected count by more than two wells.
Note 2
These are not statistical tests, just efforts to help flag poor designs. Small expected counts are inevitable, particularly with 12-well plates or experiments involving many treatments.
Random seeds permit reproducible plate designs. Completed layouts can be previewed and exported as color-coded PNG images, PDF documents, or CSV files for laboratory documentation and subsequent data analysis.
Randomization and visualization algorithms
WellScape uses the xoshiro128** pseudorandom number generator (Blackman and Vigna, 2021) in conjunction with the Fisher–Yates shuffle to generate reproducible randomized experimental designs. User-defined seeds permit regeneration of plate layouts when design parameters and algorithm versions remain unchanged. The seed expansion algorithm is a custom, deterministic implementation, distinct from the published xoshiro128** generator itself.
Authorship: Mike Dohm and ChatGPT
Workflow:
1. Configure plate. Select plate size, treatments, colors and replicate counts.
2. Specify experimental design. Choose assignment method, edge policy, strata and random seed.
3. Generate preview. Inspect the color-coded plate and labeled wells.
4. Evaluate design. Review spatial balance, clustering and dispensing — pipetting — runs.
5. Confirm and export. Save the approved layout as PNG, PDF or CSV.
References and suggested readings
Blackman, D., & Vigna, S. (2021). Scrambled linear pseudorandom number generators. ACM Transactions on Mathematical Software, 47(4), Article 36.