You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is related to this issue: RECETOX/galaxytools#576 ; apparently the RECETOX version of MFAssignR has a bug in Recal function, which works fine in the original version
additional argument to processKnown() function was introduced: element_mass
previously this line was incorrect: step_result[[num_col]] <- round((step_result$Exp_mass - step_result$base_mass) / step_limit) ; step_limit is now replaced by element_mass
step_result <- step_result[-remove_indices, ] here it was corrected for [-remove_indices] as in original code
step_result$form reverted to original state
Now both recetox and skschum versions provide the same output
This is related to this issue: RECETOX/galaxytools#576 ; apparently the RECETOX version of MFAssignR has a bug in Recal function, which works fine in the original version
The problem is here:
One point:
step_result$form <- paste(step_result[c("C", "H", "O", "N", "S", "P", "E", "S34", "N15", "D", "Cl", "Fl", "Cl37", "M", "NH4", "POE", "NOE")], sep = "_")
needs to be replaced by this:step_result$form <- paste(step_result$C, step_result$H, step_result$O, step_result$N, step_result$S, step_result$P, step_result$E, step_result$S34, step_result$N15, step_result$D, step_result$Cl, step_result$Fl, step_result$Cl37, step_result$M, step_result$NH4, step_result$POE, step_result$NOE, sep = "_")
Additionally, we need to pass H instead of H2 in Step3:
Step3 <- processKnown(Rest, RecalList[c(1:21, 27, 28)], "KMD_H2", "z_H2", "H2_num", "H", step_H2, c(10, 31))
And then, the problem is that the colnames or Step2 and Step3 don't match:
So we need to pass them differently in the function or do colnames() in processKnown()
The text was updated successfully, but these errors were encountered: