Align different batch peaks tables.
align_batch(
x,
y,
combine.mz.tol = 25,
combine.rt.tol = 30,
use.int.tol = FALSE,
return_index = FALSE
)
A mass_dataset object
A mass_dataset object
m/z tolerance for batch alignment, default is 25 ppm.
RT tolerance for batch alignment, default is 30 seconds.
Whether use intensity match for batch alignment.
return index or new object.
A index table or a new mass_dataset object.
if (FALSE) {
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
}