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
gene1    4.0      7     11
gene2    7.0    222      8
gene3    0.2      3      8
gene4    3.0     10     10
gene5    0.1      5      7


i want to plot column 1 versus column 3.

Does anyone know how to read in particular columns and plot?

i was looking at this:

https://stat.ethz.ch/pipermail/r-help/2007-July/137638.html

but i can't seem to alter it to my needs

Thank you
Aoife

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
  • [R] plot columns aoife doherty

Reply via email to