citra.Rd
Estimates the area of the citrate signal
citra(x, p, n, sh = c(5.2, 5.3))
x | The spectrum of which you want to calculate the total area |
---|---|
p | The matched ppm variable to x |
n | The noise estimation from the pproc |
sh | The ppm lower and upper limits defining the cirtate signal |
An estimated value of the citrate area
citra()
finds the ppm values between the upper and lower bounds provided by the sh parameter.
Then it removes all values below the estimated noise level provided by pproc()
to increase accuracy.
Finally the remaining values are summed and is the value returned by the function.
Kyle Bario kylebario1@gmail.com