genetics - Best way to create a Punnett Square in PHP? -
i've hunted high , low answers can't find helpful.
i'm working on genetics project, , need create script can generate punnett square genetics passed.
the sort of thing i'll working bbee x bbee
, there longer strings bbeewwss x bbeess
.
it result in bbee
, bbee
, bbee
i've had ideas on using arrays split alleles , combine them feel might quite costly resource wise.
is there smart way of achieving i'm trying do?
thanks info, andy
i know after php solution, there solution written in javascript might easier work with: https://github.com/armatronic/punnett-squares-js
here's preview of how looks:
Comments
Post a Comment