Hey guys, Can anyone help? I did a correspondance analysis and made a plot. I also have a specific list of nodes that i want to find in my plot and want to either color the nodes that appear in my list differently, or put some kind of border around that group of nodes... Would anyone know how to do this? Also, would this post be more relevant here or in the bioconductor forum? -- View this message in context: http://r.789695.n4.nabble.com/find-points-on-a-graph-tp4452746p4452746.html Sent from the R help mailing list archive at Nabble.com.
Le mercredi 07 mars 2012 ? 01:40 -0800, aoife a ?crit :> Hey guys, Can anyone help? > > I did a correspondance analysis and made a plot. > > I also have a specific list of nodes that i want to find in my plot and want > to either color the nodes that appear in my list differently, or put some > kind of border around that group of nodes... > > Would anyone know how to do this?Not if you don't tell us what package and function you used for this CA. Can you provide a small reproducible example? Regards
Many thanks for your reply. Yes absolutely. So this is a small example:> library(ca) > table <- read.table("test", header=TRUE) > tablecodon1 codon2 codon3 gene1 4.0 7 11 gene2 7.0 222 8 gene3 0.2 3 8> ca_analysis <- ca(table) > plot <- plot(ca_analysis)and then i took a screen shot of the plot i can see. http://r.789695.n4.nabble.com/file/n4453046/Screen_shot_2012-03-07_at_12.00.44.png so now for example i have a seperate file with 2 gene names: gene2 gene3 and i want to find these two genes/nodes on the graph, and either highlight them a different color, or draw a border/shade them in some way. basically highlight them in any way? is this any more helpful to explain what i mean? Aoife -- View this message in context: http://r.789695.n4.nabble.com/find-points-on-a-graph-tp4452746p4453046.html Sent from the R help mailing list archive at Nabble.com.