From ea4847bc87b6bad0a78687b0eef19b4f922e49f2 Mon Sep 17 00:00:00 2001 From: Hao Zhu Date: Wed, 27 Mar 2024 00:58:27 -0400 Subject: [PATCH] added viz --- .gitignore | 2 + docs/_static/rd_hammond_Cx3cr1.html | 357 +++++++++++++++++++++++++++ docs/_static/rd_hammond_Fcrls.html | 357 +++++++++++++++++++++++++++ docs/_static/rd_hammond_Hexb.html | 357 +++++++++++++++++++++++++++ docs/_static/rd_hammond_Mertk.html | 357 +++++++++++++++++++++++++++ docs/_static/rd_hammond_P2ry12.html | 357 +++++++++++++++++++++++++++ docs/_static/rd_hammond_Pros1.html | 357 +++++++++++++++++++++++++++ docs/_static/rd_hammond_Sall1.html | 357 +++++++++++++++++++++++++++ docs/_static/rd_hammond_Siglech.html | 357 +++++++++++++++++++++++++++ docs/_static/rd_hammond_Tmem119.html | 357 +++++++++++++++++++++++++++ docs/_static/rd_hammond_Trem2.html | 357 +++++++++++++++++++++++++++ regdiffusion/models/regdiffusion.py | 2 +- resources/.DS_Store | Bin 6148 -> 0 bytes 13 files changed, 3573 insertions(+), 1 deletion(-) create mode 100644 docs/_static/rd_hammond_Cx3cr1.html create mode 100644 docs/_static/rd_hammond_Fcrls.html create mode 100644 docs/_static/rd_hammond_Hexb.html create mode 100644 docs/_static/rd_hammond_Mertk.html create mode 100644 docs/_static/rd_hammond_P2ry12.html create mode 100644 docs/_static/rd_hammond_Pros1.html create mode 100644 docs/_static/rd_hammond_Sall1.html create mode 100644 docs/_static/rd_hammond_Siglech.html create mode 100644 docs/_static/rd_hammond_Tmem119.html create mode 100644 docs/_static/rd_hammond_Trem2.html delete mode 100644 resources/.DS_Store diff --git a/.gitignore b/.gitignore index ceb6a1a..eec2d81 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,6 @@ __pycache__/ .ipynb_checkpoints lib view.html +test.html +Untitled.ipynb demo_mESC_grn.hdf5 diff --git a/docs/_static/rd_hammond_Cx3cr1.html b/docs/_static/rd_hammond_Cx3cr1.html new file mode 100644 index 0000000..63d98d2 --- /dev/null +++ b/docs/_static/rd_hammond_Cx3cr1.html @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + +
+

+
+ + + + + + +
+

+
+ + + + + +
+ + +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/_static/rd_hammond_Fcrls.html b/docs/_static/rd_hammond_Fcrls.html new file mode 100644 index 0000000..70809b6 --- /dev/null +++ b/docs/_static/rd_hammond_Fcrls.html @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + +
+

+
+ + + + + + +
+

+
+ + + + + +
+ + +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/_static/rd_hammond_Hexb.html b/docs/_static/rd_hammond_Hexb.html new file mode 100644 index 0000000..eb30332 --- /dev/null +++ b/docs/_static/rd_hammond_Hexb.html @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + +
+

+
+ + + + + + +
+

+
+ + + + + +
+ + +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/_static/rd_hammond_Mertk.html b/docs/_static/rd_hammond_Mertk.html new file mode 100644 index 0000000..4083d63 --- /dev/null +++ b/docs/_static/rd_hammond_Mertk.html @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + +
+

+
+ + + + + + +
+

+
+ + + + + +
+ + +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/_static/rd_hammond_P2ry12.html b/docs/_static/rd_hammond_P2ry12.html new file mode 100644 index 0000000..ad05022 --- /dev/null +++ b/docs/_static/rd_hammond_P2ry12.html @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + +
+

+
+ + + + + + +
+

+
+ + + + + +
+ + +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/_static/rd_hammond_Pros1.html b/docs/_static/rd_hammond_Pros1.html new file mode 100644 index 0000000..a06e790 --- /dev/null +++ b/docs/_static/rd_hammond_Pros1.html @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + +
+

+
+ + + + + + +
+

+
+ + + + + +
+ + +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/_static/rd_hammond_Sall1.html b/docs/_static/rd_hammond_Sall1.html new file mode 100644 index 0000000..3861bf0 --- /dev/null +++ b/docs/_static/rd_hammond_Sall1.html @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + +
+

+
+ + + + + + +
+

+
+ + + + + +
+ + +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/_static/rd_hammond_Siglech.html b/docs/_static/rd_hammond_Siglech.html new file mode 100644 index 0000000..d31a19d --- /dev/null +++ b/docs/_static/rd_hammond_Siglech.html @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + +
+

+
+ + + + + + +
+

+
+ + + + + +
+ + +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/_static/rd_hammond_Tmem119.html b/docs/_static/rd_hammond_Tmem119.html new file mode 100644 index 0000000..94c2e70 --- /dev/null +++ b/docs/_static/rd_hammond_Tmem119.html @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + +
+

+
+ + + + + + +
+

+
+ + + + + +
+ + +
+
+ + + + + + + \ No newline at end of file diff --git a/docs/_static/rd_hammond_Trem2.html b/docs/_static/rd_hammond_Trem2.html new file mode 100644 index 0000000..68ce798 --- /dev/null +++ b/docs/_static/rd_hammond_Trem2.html @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + +
+

+
+ + + + + + +
+

+
+ + + + + +
+ + +
+
+ + + + + + + \ No newline at end of file diff --git a/regdiffusion/models/regdiffusion.py b/regdiffusion/models/regdiffusion.py index fe0a41c..9caf905 100644 --- a/regdiffusion/models/regdiffusion.py +++ b/regdiffusion/models/regdiffusion.py @@ -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 diff --git a/resources/.DS_Store b/resources/.DS_Store deleted file mode 100644 index 18c551eabc641fb1e8762e00f64477c275f99637..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK%TB{E5S)b`B9%jqT#)<)mH2}Yl>=u!pwNN}QfN@22W~m@GkhY^vfh#h77@dn_@*^FW}#IHYSo!7bO@ za^>6WUtxLGw2OJu&gnyeeNj!}mKp+G3mE1>5?Vo|Iz zc8+#*u(A|@sLyCKwl$YfPRdwi>>N2m6Q>fLDmldvr*k}Izba$r=yXU