crazyhottommy / phantompeakqualtools

Automatically exported from code.google.com/p/phantompeakqualtools
4 stars 3 forks source link

Error in if ((crosscorr$rel.phantom.coeff >= 0) argument is of length zero #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I run the program 
2.It loads the files for the peak calling 
3.Outputs the error

What is the expected output? What do you see instead?

I should get the result files.
I get this message:
"Error in if ((crosscorr$rel.phantom.coeff >= 0) & (crosscorr$rel.phantom.coeff 
<  :
  argument is of length zero
Execution halted"

What version of the product are you using? On what operating system?
# run_spp.R
# =============
# Author: Anshul Kundaje, Computer Science Dept., MIT
# Email: anshul@kundaje.net
# Last updated: Feb 12, 2012

Please provide any additional information below.

Original issue reported on code.google.com by jolu...@gmail.com on 27 Feb 2013 at 4:22

GoogleCodeExporter commented 8 years ago
Was this problem ever fixed?

Original comment by jyc...@gmail.com on 27 Aug 2013 at 8:58

GoogleCodeExporter commented 8 years ago
Hi,

I had similar problem and here is the Anshul's answer :

"I assume you have removed duplicates. Use run_spp_nodups.R that is
included in the code archive."

I indeed removed duplicates, so I used run_spp_nodups.R and it worked.
Hope it helps,

Fabien

Original comment by fabien.p...@gmail.com on 24 Apr 2014 at 6:59