Re: [R] single strip for the same group in dotplot lattice

2017-02-24 Thread Luigi Marongiu
y = T, >>panel = panel.superpose >> ) >> >> >> dotplot( >>value ~ type|ct, >>mdata2, >>groups = typeT, >>par.settings = list(strip.background = list(col="paleturquoise"), >>superpose.symbo

Re: [R] single strip for the same group in dotplot lattice

2017-02-23 Thread Luigi Marongiu
> par.strip.text = list(cex = 1) ), >xlab = "Target", >ylab = "Reading", > auto.key = T, > panel = panel.superpose > ) > > dotplot( > value ~ type|cluster, > mdata2, > groups = typeT, > par.settings

Re: [R] single strip for the same group in dotplot lattice

2017-02-22 Thread Duncan Mackay
ssage- From: Duncan Mackay [mailto:dulca...@bigpond.com] Sent: Thursday, 23 February 2017 13:50 To: R; 'Luigi Marongiu' Subject: RE: [R] single strip for the same group in dotplot lattice Hi Liugi Here are some ideas quickly 4 panels diagonals are blank mdata = my.data mdata$ct <- pa

Re: [R] single strip for the same group in dotplot lattice

2017-02-22 Thread Duncan Mackay
2:4), pch = rep(c(1,20),each = 3))), # type scales = list(alternating = FALSE, x = list(labels = c("", "", ""))), main = "Luminex analysis MTb humans", xlab = "Target", ylab = "Reading",

Re: [R] single strip for the same group in dotplot lattice

2017-02-22 Thread Luigi Marongiu
Dear Philip, the data is indeed a toy data: the real one will have 15 panels (=targets) and two or three clusters. this means that I will have 15 strips with the label "run 1" = "cluster 1" etc. the point of the toy data is that I get a 4x4 panel plot with 8 strips labelled "run 1", "run 2", "A" an

Re: [R] single strip for the same group in dotplot lattice

2017-02-22 Thread P Tennant
Hi Luigi, I'm afraid I don't understand your toy data as you've described it, but if you really don't have run 2 for target A, and don't have run 1 for target B, why not just create another factor that reflects this, and plot that? my.data$clus2 <- with(my.data, interaction(cluster, target)

[R] single strip for the same group in dotplot lattice

2017-02-22 Thread Luigi Marongiu
dear all, I have a set of data that is subdivided in cluster (run 1/run 2) and in target (A/B). When plotting, I obtain a panel strip with "run 1" and "run 2" for each "A" and "B" panel, so "run 1" appears twice and so does "run 2". It is possible to merge the strip together so that I will have "ru