Documentation

ChaosGameRepresentationCalculator.php

Chaos Game Representation of a DNA sequence Freely inspired by BioPHP's project biophp.org Created 9 October 2026 Last modified 9 October 2026

Table of Contents

Classes

ChaosGameRepresentationCalculator
Migrated from biotools' ChaosGameRepresentationManager, whose computation was tangled with the drawing of the images. The chaos game (Jeffrey, 1990) starts at the centre of a unit square whose corners stand for the bases ; each base moves the point half-way to its corner. The corners are biotools', y growing downward as in an image : C top left (0, 0), G top right (1, 0), A bottom left (0, 1), T bottom right (1, 1). A symbol other than A, C, G or T moves nothing and leaves no point.
On this page

Search results