Crandore Hub

dnafractal

Generates a Fractal Image of a DNA Sequence

The function takes a DNA sequence, a start point, an end point in the sequence, dot size and dot color and draws a fractal image of the sequence. The fractal starts in the center of the canvas. The image is drawn by moving base by base along the sequence and dropping a midpoint between the actual point and the corner designated by the actual base. For more details see Jeffrey (1990) <doi:10.1093/nar/18.8.2163>, Hill, Schisler, and Singh (1992) <doi:10.1007/BF00178602>, and Löchel and Heider (2021) <doi:10.1016/j.csbj.2021.11.008>.

Versions across snapshots

VersionRepositoryFileSize
0.0.2 2026-04-09 windows/windows R-4.5 dnafractal_0.0.2.zip 31.9 KiB

Dependencies (latest)

Imports