crea.Rd
Estimates the area of the creatinine signal
crea(x, p, n, c3 = c(3, 3.1), c4 = c(4, 4.1))
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 |
c3 | The ppm lower and upper limits defining the creatinine signal at ppm 3 |
c4 | The ppm lower and upper limits defining the creatinine signal at ppm 4 |
An estimated value for the creatinine area
crea()
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