Skip to content

Commit

Permalink
ccc pvalue: simple notebook rename
Browse files Browse the repository at this point in the history
  • Loading branch information
miltondp committed Sep 8, 2023
1 parent 35caf00 commit 760eac0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"tags": []
},
"source": [
"Generates a distribution of pvalues under the null hypothesis of no association."
"Generates a distribution of pvalues under the null hypothesis of no association.\n",
"\n",
"This notebook uses a data matrix as input for CCC and parallelizes computation across gene pairs."
]
},
{
Expand Down Expand Up @@ -370,7 +372,7 @@
},
"outputs": [],
"source": [
"output_file = OUTPUT_DIR / \"cm_values.npy\"\n",
"output_file = OUTPUT_DIR / \"data_matrix-cm_values.npy\"\n",
"display(output_file)\n",
"\n",
"np.save(output_file, cm_values)"
Expand All @@ -392,7 +394,9 @@
},
"outputs": [],
"source": [
"output_file = OUTPUT_DIR / \"cm_pvalues.npy\"\n",
"output_file = OUTPUT_DIR / \"data_matrix-cm_pvalues.npy\"\n",
"display(output_file)\n",
"\n",
"np.save(output_file, cm_pvalues)"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

# %% [markdown] tags=[]
# Generates a distribution of pvalues under the null hypothesis of no association.
#
# This notebook uses a data matrix as input for CCC and parallelizes computation across gene pairs.

# %% [markdown] tags=[]
# # Modules loading
Expand Down Expand Up @@ -80,13 +82,15 @@
# # Save

# %% tags=[]
output_file = OUTPUT_DIR / "cm_values.npy"
output_file = OUTPUT_DIR / "data_matrix-cm_values.npy"
display(output_file)

np.save(output_file, cm_values)

# %% tags=[]
output_file = OUTPUT_DIR / "cm_pvalues.npy"
output_file = OUTPUT_DIR / "data_matrix-cm_pvalues.npy"
display(output_file)

np.save(output_file, cm_pvalues)

# %% tags=[]

0 comments on commit 760eac0

Please sign in to comment.