Open ordabayevy opened 4 months ago
Add a new measured_genes_mask_ng
boolean argument to the forward method of OnePassMeanVarStd
model. This argument tells which genes were measured in each cell. Then use this mask to update self.x_sums
, self.x_squared_sums
, and self.x_size
only for genes that were measured.
Genes that were not measured should not contributed to the summary stats.