apply_alignment | R Documentation |
Function to apply peak alignment
apply_alignment(data, metadata, method = c("pg", "ow", "lama"), ...)
apply_alignment.pg(
data,
metadata,
group_by,
bin_size = 0.25,
ppm_bin = 0,
min_fraction = 0.9,
extra_peaks = 1,
smooth = c("loess", "linear"),
span = 1,
family = c("gaussian", "symmetric"),
subset_samples = NULL,
subset_adjust = c("previous", "average"),
...
)
apply_alignment.ow(
data,
metadata,
bin_size = 1,
smooth_responsiveness = 1,
distance_function = c("cor", "cor_opt", "cov", "prd", "euc"),
local_alignment = FALSE,
subset_samples = NULL,
subset_adjust = c("previous", "average"),
...
)
apply_alignment.lama(
data,
metadata,
lama_file,
lama_method = c("loess", "gam"),
span_lama = 0.5,
ppm = 20,
tolerance_mz = 0,
tolerance_rt = 5,
gam_smoothing = c("tp", "ts", "ds", "cr", "cs", "cc", "sos", "bs", "ps", "re", "mrf",
"gp", "so"),
...
)
data |
An MSnExp object in centroid mode. |
metadata |
Sample information data.frame. |
MSnExp-class object after alignment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.