Nothing
test_that("get_si_mat returns a matrix of the correct dimensions", {
# 'speaq' requires 'MassSpecWavelet' and 'impute' to be installed
deps <- c("MassSpecWavelet", "impute")
inst <- sapply(deps, requireNamespace, quietly = TRUE)
if (!all(inst)) skip(paste("Missing deps:", collapse(deps[!inst])))
decons <- deconvolute(sim[1:2], sfr = c(3.55, 3.35))
aligns <- align(decons)
si_mat <- get_si_mat(aligns) # 2048 x 2 matrix (2048 datapoints, 2 spectra)
expect_equal(dim(si_mat), c(2048, 2))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.