predict_ic50 | R Documentation |
Predict the half maximal inhibitory concentration (aka IC50) (in nM) for one or more peptides, where the peptides are used as-is, instead of split into smaller peptides. Each peptide must be 15 amino acids at most (use predict_ic50s to predict the IC50s for longer peptides)
predict_ic50( peptides, mhc_haplotype, netmhcpan_folder_name = get_default_netmhcpan_folder(), temp_fasta_filename = netmhcpan::create_temp_fasta_filename(), temp_xls_filename = netmhcpan::create_temp_xls_filename() )
peptides |
one or more peptide sequences |
mhc_haplotype |
one MHC haplotype, e.g. |
netmhcpan_folder_name |
the folder (to be) used by NetMHCpan. From this location, a subfolder for NetMHCpan is created. Use get_default_netmhcpan_folder to see the location of the default NetMHCpan folder. Use get_default_netmhcpan_subfolder to see the location of the default NetMHCpan subfolder. |
temp_fasta_filename |
name for a temporary FASTA file, which will be deleted automatically |
temp_xls_filename |
name for a temporary |
a tibble with two columns:
(1) peptide
, which holds the peptide sequence, and
(2) ic50
, which holds the predicted IC50
this function uses a temporary file, because NetMHCpan reads its input from file. This temporary file is deleted after this function passed successfully.
Richèl J.C. Bilderbeek
if (is_netmhcpan_installed()) { predict_ic50( peptides = c("AIAACAMLLV", "ALVCYIVMPV"), mhc_haplotype = "HLA-A0101" ) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.