predict_ic50s: Predict the IC50s from a sequence

Description Usage Arguments Value

View source: R/predict_ic50s.R

Description

Predict the IC50s from a sequence

Usage

1
2
3
4
5
6
7
8
predict_ic50s(
  protein_sequence,
  peptide_length,
  mhc_haplotype,
  netmhc2pan_folder_name = get_default_netmhc2pan_folder(),
  temp_fasta_filename = netmhc2pan::create_temp_fasta_filename(),
  temp_xls_filename = netmhc2pan::create_temp_xls_filename()
)

Arguments

protein_sequence

a protein sequence, for example FAMILYVW

peptide_length

length of a peptide

mhc_haplotype

one MHC haplotype, e.g. DRB1_0101. See get_netmhc2pan_alleles for a full list

netmhc2pan_folder_name

the folder (to be) used by NetMHCIIpan. From this location, a subfolder for NetMHCIIpan is created. Use get_default_netmhc2pan_folder to see the location of the default NetMHCIIpan folder. Use get_default_netmhc2pan_subfolder to see the location of the default NetMHCIIpan subfolder.

temp_fasta_filename

name for a temporary FASTA file, which will be deleted automatically

temp_xls_filename

name for a temporary xls file, which will be deleted automatically

Value

a tibble with columns:

The number of rows equals protein_sequence - peptide_length + 1.


netmhc2pan documentation built on Nov. 18, 2020, 5:07 p.m.