Re: [R] plot columns

2012-03-16 Thread R. Michael Weylandt
plot(codon3 ~ codon1, data = table) should work but I'm not in a position to verify. If for some reason it doesn't does plot(codon3 ~ codon1, data = as.data.frame(table)) get it? Michael On Mar 16, 2012, at 10:32 AM, aoife doherty wrote: > Hey guys, can anyone help? > > i have a sample tabl

[R] plot columns

2012-03-16 Thread aoife doherty
Hey guys, can anyone help? i have a sample table: >table <- structure(c(4, 7, 0.2, 3, .1, 7, 222, 3, 10, 5, 11, 8, 8, 10, 7), .Dim = c(5L, 3L), .Dimnames = list(c("gene1", "gene2", "gene3", "gene4", "gene5"), c("codon1", "codon2", "codon3"))) >table codon1 codon2 codon3 gene14.0