View source: R/predict_counts_per_proteome.R
predict_counts_per_proteome | R Documentation |
Predict the number of binders and the number of binders that overlap with at least one amino acid with a TMH for one or more proteins.
predict_counts_per_proteome(
protein_sequences,
haplotype,
peptide_length,
percentile,
verbose = FALSE,
ic50_prediction_tool
)
protein_sequences |
one or more protein sequences |
haplotype |
one MHC-I or MHC-II haplotype |
peptide_length |
length of the peptide in amino acids |
percentile |
how low the IC50 must be for the protein to be considered a binder. For example, 0.02 denotes that the protein must have an IC50 in the lowest 2 percent range. The default value is returned by get_ic50_percentile_binder. |
verbose |
set to TRUE for more output |
ic50_prediction_tool |
tool to predict the IC50 from a
peptide. Possible values are:
|
Use predict_counts to predict these counts for one protein.
a tibble with
n_binders number of epitopes that bind
n_binders_tmh number of epitopes that bind and have one amino acid overlapping with a TMH
n_spots number of spots for the n-mer
n_spots_tmh number of spots that have one amino acid overlapping with a TMH
The number of will equal the number of proteins.
Richèl J.C. Bilderbeek
library(mhcnuggetsr)
library(pureseqtmr)
if (is_pureseqtm_installed()) {
protein_sequences <- c(
"SWINGTRANSMITWILLINGFASCINATEARISERISKGRATE",
"FANTASTICALLYFAMILYVW"
)
predict_counts_per_proteome(
protein_sequences = protein_sequences,
haplotype = get_mhc1_haplotypes()[1],
peptide_length = 9,
percentile = 0.123,
ic50_prediction_tool = "EpitopePrediction"
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.