Skip to content

Commit

Permalink
modify preprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
inoue0426 committed Apr 12, 2024
1 parent f572c15 commit c5db20b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1665,7 +1665,6 @@
"tmp = np.sign(df)\n",
"cols = (np.sum(tmp) > int((df.shape[0])*0.05))\n",
"rows = (np.sum(tmp, axis=1) > int((df.shape[1])*0.05))\n",
"df = np.log(df.loc[rows, cols] + 1)\n",
"df = scprep.normalize.library_size_normalize(df) \n",
"df = scprep.transform.sqrt(df)\n",
"df"
Expand Down Expand Up @@ -1747,9 +1746,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "scBiGCN",
"display_name": "llm",
"language": "python",
"name": "scbigcn"
"name": "llm"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -1761,7 +1760,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down

0 comments on commit c5db20b

Please sign in to comment.