get_shape_df: Beta shape parameters for (one peptide):(all HLA)...

Description Usage Arguments

View source: R/immunogen_predictive_prior.r

Description

For a given peptide, and for all HLAs, compute the shape parameters of the prior distribution for that pHLA combination.

Usage

1
2
get_shape_df(netmhc.df, pep, mode_F = 0.3, sd_F = 0.1, mode_T = 0.7,
  sd_T = 0.2)

Arguments

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)


liesb/BIITE documentation built on May 21, 2017, 1:35 p.m.