one_time_step: One update of MH chain

Description Usage Arguments

View source: R/immunogen_mh_tools_2.r

Description

Performs one time step in the MH chain:

Usage

1
one_time_step(h, loglik_h, eli.dat, pep, mol.names, unif.prop, radius, p.df)

Arguments

h

Hypothesis which is the current state of the chain

loglik_h

Log likelihood of h

eli.dat

ELISpot dataset

pep

Peptide currently being processed

mol.names

Names of the HLA molecules in the ELISpot dataset

unif.prop

If TRUE, choose proposal state from [0,1]^m

radius

If unif.prop is FALSE, we look for a proposal state in a hypercube around h restricted by radius

p.df

Dataframe which describes the parameters of the prior distributions for each HLA


liesb/BIITE documentation built on May 21, 2019, 6:13 a.m.