[R] Setting column widths in heatmap

2009-11-03 Thread Ken Termiso
Hello, I cannot figure out how to set the column widths (either relative or absolute) for the heatmap function - the full manual hints that layout and lcm will control this, but I haven't had any luck. This is in R 2.9.2 compiled for either FC10 or SUSE11.1 (x86_64)... and am sending the

[R] Uninformative error msgs w/ svm.default - Error in svm.default ... y must be a vector or a factor -

2008-02-05 Thread Ken Termiso
Hello, I'm using recursive SVM script (rSVM - http://www.stanford.edu/group/wonglab/RSVMpage/R-SVM.html ) on some microarray data. The data to be input are log2, as numeric matrix w/ attributes -- str(svm_num_mat) num [1:10, 1:12340] 13.1 13.1 13.1 13.1 13.0 ... - attr(*, dimnames)=List

[R] Problems with scan() in a tab-sep .txt file with cells that have '///' (three frontslashes)

2007-10-26 Thread Ken Termiso
Hello all, I'm using the following scan() parameters on a tab-separated text file that was generated by R. temp_file - scan(file = outfile, sep=\t, what = character(), skip = 1, nlines = 1) The problem is that within some cells, there are cases where there are three frontslashes ( /// ).