You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/metrics/average_batch_r2/script.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -63,13 +63,13 @@
63
63
s2_view_ct=s2_view[s2_view.obs["cell_type"] ==ct]
64
64
if (
65
65
s1_view_ct.shape[0] <20ors2_view_ct.shape[0] <20
66
-
): # Skip Rˆ2 calculation if there are less than 10 cells
66
+
): # Skip Rˆ2 calculation if there are less than 20 cells
67
67
print(
68
68
f"Warning: Rˆ2 not computed for donor {donor} cell type {ct}. Too few cells were present: {s1_view_ct.shape[0]} for split 1 and {s2_view_ct.shape[0]} for split 2"
0 commit comments