[R] find points on a graph

aoife aoife.m.doherty at gmail.com
Fri Mar 9 11:03:16 CET 2012


May i please update my question, and I understand now something that i did
not yesterday.

In this example:

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")))

Library(ca)

> list <-scan("test_list", what=list(gene=""))      ### where test_list is a
> file containing the words  "gene4", "gene5"

plot(ca(table, suprow=c(4, 5))) 

*Question 1: is it possible to change:*

plot(ca(table, suprow=c(4, 5))) 

to either:

plot(ca(table, suprow=c(0-100))  ## e.g. a range of numbers (i have about
100 rows that i need to highlight, so i'd rather not do manually)

or:

plot(ca(table, suprow=c(test_list))) ### where i've given it a file with
list of nodes, and R can find the rows that these nodes are on and highlight
these. 
 
And then my second question is the same as previous regarding the plot
output, is it possible to shade rather than have open circles.

Many thanks.

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



More information about the R-help mailing list