Learn R Programming

mhcnuggetsr (version 1.1)

predict_ic50: Predict the IC50 for peptides.

Description

Predict the half maximal inhibitory concentration (aka IC50) (in nM) for one or more peptides. Each peptide must be 15 amino acids at most (use predict_ic50s to predict the IC50s for longer peptides)

Usage

predict_ic50(
  mhcnuggets_options,
  peptides,
  peptides_path = create_temp_peptides_path()
)

Arguments

mhcnuggets_options

options to run MHCnuggets with, as can be created by create_mhcnuggets_options.

peptides

one of more peptide sequences

peptides_path

the path to the peptides

Value

a tibble with two columns: (1) peptide, which holds the peptide sequence, and (2) ic50, which holds the predicted IC50

Examples

Run this code
# NOT RUN {
if (is_mhcnuggets_installed()) {

  peptides <- c("AIAACAMLLV", "ALVCYIVMPV", "ALEPRKEIDV")
  mhc_1_haplotype <- "HLA-A02:01"

  mhcnuggets_options <- create_mhcnuggets_options(
    mhc = mhc_1_haplotype
  )

  predict_ic50(
    peptides = peptides,
    mhcnuggets_options = mhcnuggets_options
  )
}
# }

Run the code above in your browser using DataLab