View source: R/immunogen_predictive_prior.r
For a given peptide, and for all HLAs, compute the shape parameters of the prior distribution for that pHLA combination.
1 2 | get_shape_df(netmhc.df, pep, mode_F = 0.3, sd_F = 0.1, mode_T = 0.7,
sd_T = 0.2)
|
netmhc.df |
Dataframe with booleans for each pHLA combination: do we think it is immunogenic or not? This can come from predicitve data (hence the name). |
pep |
Peptide currently being processed |
mode_F |
mode for the Beta distribution for a pHLA combination that has a negative prior (pHLA considered to be non-immunogenic) |
sd_F |
standard deviation for a pHLA combination that has a negative prior (pHLA considered to be non-immunogenic) |
mode_T |
mode for the Beta distribution for a pHLA combination that has a positive prior (pHLA considered to be immunogenic) |
sd_T |
standard deviation for a pHLA combination that has a positive prior (pHLA considered to be immunogenic) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.