shift_pickr.Rd
Peak-Picking
shift_pickr(X, ppm = NULL, sh = c(3, 3.1), pm = 0.005)
X | The X array or matrix you want to pick the peak of |
---|---|
ppm | The column matched ppm variable to your X |
sh | The chemical shift region you want to search |
pm | The amount you want to add to each side of the peak |
The ppm variables that match the peak you are searching for
#> Error in get_idx(c(p[m] - pm, p[m] + pm), p): Please provide only two (2) integers in the argument sh#> Error in get_idx(c(p[m] - pm, p[m] + pm), p): Please provide only two (2) integers in the argument sh#> Error in plot(ppm[idx], X[1, idx], main = "Creatinine Peak 4.05", type = "l", xlim = c(4.05, 4.07)): object 'idx' not found#> Error in points(ppm[idx1], X[2, idx1], type = "l", col = "red"): object 'idx1' not found