Description Usage Arguments Value Author(s) Examples
Peak Picker
1 | peak_picker(rt, int, target_rt, rt_window)
|
rt |
a numeric vector of retention time |
int |
a numeric vector of intensity |
target_rt |
a numeric value of a target retention time for targeted peak picking. Retention time must be in the format M.SS (ie, 5.48) |
rt_window |
a numeric value (in seconds) for retention time window. Any peaks detected within the specified |
a peak_info
data.frame
Tom Wilson tpw2@aber.ac.uk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## Not run:
load(system.file("extdata/chrom_b.rda", package = "pickeR"))
peaks_b <- pick_peaks(chrom_b$rt, chrom_b$int, target_rt = NULL)
print(peaks_b)
peak_id rt rt_left rt_right int area peak_width left apex right
1 1 4.82 4.64 5.00 1816325.62 162465.7170 21.4 234 243 252
2 2 5.10 5.08 5.12 46423.14 800.2521 2.4 256 257 258
3 3 5.24 5.16 5.34 608038.31 36007.8424 10.7 260 264 269
4 4 5.43 5.39 5.45 37284.08 624.4537 3.6 272 274 275
5 5 5.61 5.55 5.63 26859.48 722.4089 4.7 280 283 284
6 6 5.65 5.63 5.69 20272.62 577.2687 3.6 284 285 287
7 7 7.02 7.00 7.08 18515.96 640.6789 4.7 353 354 357
8 8 7.32 7.22 7.36 16779.31 895.9999 8.3 364 369 371
peaks_b <- peak_picker(chrom_b$rt, chrom_b$int, target_rt = 4.9, rt_window = 20)
print(peaks_b)
peak_id rt rt_left rt_right int area peak_width left apex right
1 1 4.82 4.64 5.12 1816326 162374.6 21.4 234 243 258
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.