withinhost: Within-host genomic data

Description Usage Format Examples

Description

Simulated within-host bacterial genomic samples.

Usage

1

Format

Two bacterial samples were taken every 2000 generations up to time 10000.

Examples

 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)
	

seedy documentation built on May 29, 2017, 10:58 a.m.