We used the decomposeIsotopes in one of our workflows but realized at some point that the original data was changed. Seems that this function replaces the intensity values in the main environment:
As you see the values in the ints variable got changed by the decomposeIsotopes call. Seems the function does not do the standard R copying but changes the values in place?
We used the
decomposeIsotopes
in one of our workflows but realized at some point that the original data was changed. Seems that this function replaces the intensity values in the main environment:As you see the values in the
ints
variable got changed by thedecomposeIsotopes
call. Seems the function does not do the standard R copying but changes the values in place?