Re: [R] Error message for MCC

2011-08-04 Thread Florent D.
You defined temp as a vector: temp - vector(mode=numeric, length = vl) but you try to extract from it as if it was a 2d object: colA - temp[,compareA] Maybe you meant to use temp1 instead? More meaningful variable names might help avoid such mistakes. On Wed, Aug 3, 2011 at 6:14 PM, Matt

[R] Error message for MCC

2011-08-03 Thread Matt Curcio
Greetings all, I am getting an error message that is stifling me. Any ideas? ## Define Directories ## load_from - /home/mcc/Dropbox/abrodsky/kegg_combine_data/ save_to - /home/mcc/Dropbox/abrodsky/ttest_results/ ### ## Define Columns To Compare ## compareA -

Re: [R] Error message for MCC

2011-08-03 Thread Jim Holtman
'temp' is only a vector and you are trying to reference it as a matrix, therefore the error message Sent from my iPad On Aug 3, 2011, at 18:14, Matt Curcio matt.curcio...@gmail.com wrote: Greetings all, I am getting an error message that is stifling me. Any ideas? ## Define Directories