Skip to content

Commit 425bfc1

Browse files
committed
add missing ME feature projections
1 parent 0bfc03f commit 425bfc1

File tree

4 files changed

+1321
-12
lines changed

4 files changed

+1321
-12
lines changed

python_scripts/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ All high-level analysis and figure code is presented in jupyter notebooks as fol
1313

1414
`morpho_electro_feature_analysis.ipynb`: All remaining depth, electrophysiology, and morphology analysis from main paper, Figures 4-6.
1515

16+
`morpho_electro_feature_projections.ipynb`: Electrophysiology and morphology feature visualization by SPCA and UMAP projections, Figure 4.
17+
1618
`classifier_and_species_analysis.ipynb`: Additional Extended Data results including random forest classifier for t-types and cross-species comparison of electrophysiology.
1719

1820
Additionally, code to calculate gene-depth correlations (very compute-intensive) is in `gene_depth_corr_calculation.py`. For convenience, results are included in data so there is no need to re-run this analysis.

python_scripts/morpho_electro_feature_analysis.ipynb

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,8 @@
4040
"source": [
4141
"from hivscc_data import load_data, join_gene_data\n",
4242
"import hivscc_analysis as utils\n",
43-
"human_df, mouse_df, ephys_df, morph_df = load_data()"
44-
]
45-
},
46-
{
47-
"cell_type": "code",
48-
"execution_count": 3,
49-
"metadata": {
50-
"collapsed": true
51-
},
52-
"outputs": [],
53-
"source": [
54-
"# maybe do this in raw data?? check effects on Anatoly?\n",
43+
"human_df, mouse_df, ephys_df, morph_df = load_data()\n",
44+
"\n",
5545
"drop_neg = [\n",
5646
" 'input_resistance',\n",
5747
" 'fi_fit_slope',\n",

python_scripts/morpho_electro_feature_projections.ipynb

Lines changed: 1315 additions & 0 deletions
Large diffs are not rendered by default.

python_scripts/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ scikit-learn==0.22
55
seaborn==0.9
66
statsmodels==0.11
77
umap-learn==0.3.8
8+
numba==0.43.1
9+
llvm-lite==0.28
810
pyarrow

0 commit comments

Comments
 (0)