Displaying 1 result from an estimated 1 matches for "masspeak".
Did you mean:
emacspeak
2012 Jan 03
1
Error when using foreach package for parralelization
...16+1):(16*16+16),(20*16+1):(20*16+16))
score.mat = matrix(nc=16*4,nr=16*4)
for(i in 1:(16*4)) {
for(j in i:(16*4)) {
score.mat[i,j] = score.mat[j,i] =
computeScore(pk[[pk2test[i]]],pk[[pk2test[j]]],10,5)$score
}
}
pk is a list of Object of type MassPeak from MALDIquant library. Each
object is composed with a 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...