[R] Coplot Question

Steve Arthur sarthur at protogene.com
Wed Sep 13 03:11:05 CEST 2000


I have a question concerning the coplot function.

I have written some code using the coplot:

function (Block, Name, ID, Loci.Number, Code.Flag, Base, Metric) {
coplot(Metric ~ as.integer(Base) | Loci.Number * Code.Flag)

And it works great!  However, according to the way coplot functions, I
have to convert Base values, A, C, G, and T to 1, 2, 3, and 4, which is
not good for visualization.  

Question:  Is there anyway to have the coplot work showing the original A,
C, G, T as values for Base.

Thanks in advance,


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list