Displaying 1 result from an estimated 1 matches for "filterspectra".
2012 Jan 03
1
Error when using foreach package for parralelization
...mass vector (@mass) an intensity vector
(@intensity) and a metaData field (another list)
score.mat is a matrix with scores (reals)
pk2test is just a vector to know which objects in pk i want to deal with
computeScore is the function i wrote to compute the score, it calls
another function called filterSpectra
I write the function like that, and i got the error below, and i can't
figure out why ?
pk2test =
c(1:16,(12*16+1):(12*16+16),(16*16+1):(16*16+16),(21*16+1):(21*16+16))
score.mat = matrix(nc=16*4,nr=16*4)
for(i in 1:4) {
score.mat[i,i:4] =
foreach(filterSpectra...