Skip to content

Commit 02882a8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3cc2511 commit 02882a8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

atac/PeakVI.ipynb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -722,16 +722,14 @@
722722
"\n",
723723
"# (1.2) using a known factor to compare a cluster against all other clusters\n",
724724
"## if we only provide group1, group2 is all other cells by default\n",
725-
"da_res12 = model.differential_accessibility(\n",
726-
" groupby=PEAKVI_CLUSTERS_KEY, group1=\"3\"\n",
727-
")\n",
725+
"da_res12 = model.differential_accessibility(groupby=PEAKVI_CLUSTERS_KEY, group1=\"3\")\n",
728726
"\n",
729727
"# (2.1) using indices to compare two clusters\n",
730728
"## we can use boolean masks or integer indices for the `idx1` and `idx2` arguments\n",
731729
"da_res21 = model.differential_accessibility(\n",
732730
" idx1=adata.obs[PEAKVI_CLUSTERS_KEY] == \"3\",\n",
733731
" idx2=adata.obs[PEAKVI_CLUSTERS_KEY] == \"0\",\n",
734-
" test_mode=\"two\"\n",
732+
" test_mode=\"two\",\n",
735733
")\n",
736734
"# (2.2) using indices to compare a cluster against all other clusters\n",
737735
"## if we don't provide idx2, it uses all other cells as the contrast\n",

0 commit comments

Comments
 (0)