File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 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 " ,
You can’t perform that action at this time.
0 commit comments