On Sep 10, 2012, at 9:14 AM, Hermann Norpois wrote: > Hello, > > I have a list with gene names, fold changes (=expression level) and > chromosomes. > > Names fold change chromosome > hz 1.5 2 > > > If I plot fold change versus chromosome (or vice versa): > > plot (ch, fc) >
Your question is ambiguous. You have shown the layout with names that are not valid column names. You may want to use barplot() rather than plot(), since your x-values are discrete. > I see only the chromosomes with numbers but not those with letter (x and > y). What can I do? > > A second question: > How can I add a single line in that plot at a certain y-level. If you do not want barplot() then look at dotplot(). -- David Winsemius, MD Alameda, CA, USA ______________________________________________ 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.