Hi, 

How could I add labels to the data track? 

simple example codes:

xx.1 <- data.frame(names = LETTERS[1:10],  start = seq(1, length = 10, by = 3), end = seq(2, length = 10, by = 3), value = sample(1:100, 10))
itrack <- IdeogramTrack(genome = "hg19", chromosome = 1, showBandId = TRUE, cex.bands = 0.3)
gtrack <- GenomeAxisTrack()
xTrack <- DataTrack(data = t(as.matrix(xx.1[, 4])), start = xx.1[, 2], end = xx.1[, 3], genome = "hg19", name = "test", chromosome = 1,  pch = 20, cex = 0.8)
plotTracks(list(itrack, gtrack, xTrack), from = 1, to = 40,  type = "p",  background.title = "brown")

How could I add labels (A-J, for example) to the dots? Is there a function in Gviz similar to "text"?

Best,
Chunxuan.


 		 	   		  
	[[alternative HTML version deleted]]

