test_that("use", {
if (!is_netmhcpan_installed()) return()
peptides <- c("AIAACAMLLV", "ALVCYIVMPV")
df <- predict_ic50(
peptides = peptides,
mhc_haplotype = "HLA-A02:329"
)
expect_true("peptide" %in% names(df))
expect_true("ic50" %in% names(df))
expect_equal("character", class(df$peptide))
expect_equal("numeric", class(df$ic50))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.