Skip to content

Commit

Permalink
added viz
Browse files Browse the repository at this point in the history
  • Loading branch information
haozhu233 committed Mar 27, 2024
1 parent d6f42b2 commit ea4847b
Show file tree
Hide file tree
Showing 13 changed files with 3,573 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ __pycache__/
.ipynb_checkpoints
lib
view.html
test.html
Untitled.ipynb
demo_mESC_grn.hdf5
357 changes: 357 additions & 0 deletions docs/_static/rd_hammond_Cx3cr1.html

Large diffs are not rendered by default.

357 changes: 357 additions & 0 deletions docs/_static/rd_hammond_Fcrls.html

Large diffs are not rendered by default.

357 changes: 357 additions & 0 deletions docs/_static/rd_hammond_Hexb.html

Large diffs are not rendered by default.

357 changes: 357 additions & 0 deletions docs/_static/rd_hammond_Mertk.html

Large diffs are not rendered by default.

357 changes: 357 additions & 0 deletions docs/_static/rd_hammond_P2ry12.html

Large diffs are not rendered by default.

357 changes: 357 additions & 0 deletions docs/_static/rd_hammond_Pros1.html

Large diffs are not rendered by default.

357 changes: 357 additions & 0 deletions docs/_static/rd_hammond_Sall1.html

Large diffs are not rendered by default.

357 changes: 357 additions & 0 deletions docs/_static/rd_hammond_Siglech.html

Large diffs are not rendered by default.

357 changes: 357 additions & 0 deletions docs/_static/rd_hammond_Tmem119.html

Large diffs are not rendered by default.

357 changes: 357 additions & 0 deletions docs/_static/rd_hammond_Trem2.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion regdiffusion/models/regdiffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def soft_thresholding(self, x, tau):
def I_minus_A(self):
mask = self.mask_nonparam
if self.train:
A_dropout = (torch.rand_like(self.adj_A)>self.adj_dropout)
A_dropout = (torch.rand_like(self.adj_A)>self.adj_dropout).float()
A_dropout /= (1-self.adj_dropout)
mask = mask * A_dropout
clean_A = self.soft_thresholding(self.adj_A, self.gene_reg_norm/2)*mask
Expand Down
Binary file removed resources/.DS_Store
Binary file not shown.

0 comments on commit ea4847b

Please sign in to comment.