Description Usage Format Examples
Simulated within-host bacterial genomic samples.
1 |
Two bacterial samples were taken every 2000 generations up to time 10000.
1 2 3 4 5 6 7 8 9 10 | data(withinhost)
Gmat <- gd(withinhost$obs.strain, withinhost$libr, withinhost$nuc,
withinhost$librstrains)
colvec <- rainbow(1200)[1:1000] # Color palette
coltext <- rep("black", length(colvec)) # Corresponding text colors
coltext[680:970] <- "white" # White text for darker background colours
plotdistmat(Gmat, colvec, coltext, pos="bottomleft", labels=NULL, numbers=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.