Skip to main content
. 2021 Aug 11;49(19):e110. doi: 10.1093/nar/gkab676
Algorithm 1 Rotate through cell types for training
Require: C (set of training cell types)
Require: R (genomic regions selected for training)
1: for i in R do
2: for k in C do
3:   xixijjC, j (xij are cell type specific features as
  defined in Equation 4)
4:   yik ← ChIP-seq peaks for cell type k in region i
5:   loss = calculateLoss(xi, yik)
6:   updateGradients(loss)
7:   if model has converged then
8:    exit
9:   end if
10: end for
11: end for