Function 'A_sampling' estimates a regulation strength for each sampled binding event in C, according to a posterior Gaussian distribution.
A_sampling(Y, C, A_old, X, base_line, C_prior, sigma_noise, sigma_A,
sigma_baseline, sigma_X)gene expression data matrix
sampled TF-gene binding network
regulatory strength sampled from the previous round, used as a prior in current function
sampled transcription factor activity matrix
sampled gene expression baseline activity
prior TF-gene binding network
variance of gene expression fitting residuals
variance of regulatory strength
variance of gene expression baseline activity
variance of transcription factor activity