[R] Plotting Character Variable

From: <ohalawa_at_umich.edu>
Date: Fri 08 Jul 2005 - 01:47:24 EST


Any ideas about the following problem:

I have a matrix (A) that looks like this:

gene_names             values
hsa-mir-124              0.3
hsa-mir-234              0.1
hsa-mir-344              0.4
hsa-mir-333              0.7
.....                  .......

(This is a 2 by 22283 matrix: quite large)

I would like to plot the values, but output the gene_names as the plotting symbol. I have tried regular x,y plots, but since the gene_names are quite large and there are 22283 of them, it's impossible to fit them on the x-axis.

Basically, can I plot the above matrix

plot(gene_names, value) where the gene_names are used as the plotting symbol.

thank you,



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jul 08 01:52:36 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:20 EST