# S4 method for MultiAssayExperiment
lapply(X, FUN, safe = TRUE, ...)
(MultiAssayExperiment
)
input.
(function
) to be applied to each experiment in X
.
(flag
)
whether this method should skip experiments
where the function fails.
additional arguments passed to FUN
.
MultiAssayExperiment
object with specified function applied.
object <- multi_assay_experiment
result <- lapply(object, normalize, safe = TRUE)
#> -- note: fitType='parametric', but the dispersion trend was not well captured by the
#> function: y = a/x + b, and a local regression fit was automatically substituted.
#> specify fitType='local' or 'mean' to avoid this message next time.
#> -- note: fitType='parametric', but the dispersion trend was not well captured by the
#> function: y = a/x + b, and a local regression fit was automatically substituted.
#> specify fitType='local' or 'mean' to avoid this message next time.
#> -- note: fitType='parametric', but the dispersion trend was not well captured by the
#> function: y = a/x + b, and a local regression fit was automatically substituted.
#> specify fitType='local' or 'mean' to avoid this message next time.
# Similarly, all experiments in an MAE can be converted to HermesData class:
result <- lapply(object, HermesData, safe = TRUE)