Run 7-state joint HMM on a pseudobulk profile
run_joint_hmm_s7( pAD, DP, R, p_s, Y_obs, lambda_ref, d_total, theta_min = 0.08, phi_del = 2^(-0.25), phi_amp = 2^(0.25), t = 1e-05, mu = 0, sig = 1, gamma = 20, r = 0.015, debug = FALSE )
pAD
: integer vector Paternal allele countsDP
: integer vector Total alelle countsR
: numeric vector Variant mapping bias directionp_s
: numeric vector Phase switch probabilitiesY_obs
: numeric vector Observed gene countslambda_ref
: numeric vector Reference expression ratesd_total
: integer Total library size for expression countstheta_min
: numeric Minimum haplotype imbalance thresholdphi_del
: numeric Expected fold change for deletionphi_amp
: numeric Expected fold change for amplificationt
: numeric Transition probability between copy number statesmu
: numeric Global expression biassig
: numeric Global expression variancegamma
: numeric Overdispersion in the allele-specific expressionr
: numeric Variant mapping biasdebug
: logical Whether to print debug messagescharacter vector Decoded states
Useful links