[R] find points on a graph

aoife aoife.m.doherty at gmail.com
Thu Mar 8 13:17:24 CET 2012

Thank you. I really appreciate the help.

May i ask two questions.

In the example below:

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",
plot(ca(table, suprow=c(4, 5))) 

i get an output plot like this:


is it possible to add in code somewhere so that the nodes of interest are
not open circles, but are encompassed by a  shading on them, similar to


And my second question, in this line of the code here:
plot(ca(table, suprow=c(4, 5))) 

is it possible to edit "suprow=c(4, 5)" to say "suprow=c(the genes that are
in a certain file)", i.e rather than manually type each gene in, get the
code to read in a file?

When i try move "gene 4" and "gene 5" to a seperate file, and try to read it
in, i get:

> plot <- ca(table,suprow=c(file))
Error in sort.int(x, na.last = na.last, decreasing = decreasing, ...) : 
  'x' must be atomic

Many thanks for your time.

View this message in context: http://r.789695.n4.nabble.com/find-points-on-a-graph-tp4452746p4456264.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list