align_batch | R Documentation |
Align different batch peaks tables.
align_batch(
x,
y,
combine.mz.tol = 25,
combine.rt.tol = 30,
use.int.tol = FALSE,
return_index = FALSE
)
x |
A mass_dataset object |
y |
A mass_dataset object |
combine.mz.tol |
m/z tolerance for batch alignment, default is 25 ppm. |
combine.rt.tol |
RT tolerance for batch alignment, default is 30 seconds. |
use.int.tol |
Whether use intensity match for batch alignment. |
return_index |
return index or new object. |
A index table or a new mass_dataset object.
Xiaotao Shen shenxt1990@outlook.com
## Not run:
data(object1, package = "demodata")
data(object2, package = "demodata")
object1
object2
x = object1
y = object2
match_result =
align_batch(x = object1, y = object2, return_index = TRUE)
head(match_result)
new_object =
align_batch(x = object1, y = object2, return_index = FALSE)
new_object
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.