Skip to content

Commit

Permalink
Regress out total_count rather than cytoplasmArea
Browse files Browse the repository at this point in the history
  • Loading branch information
vals committed May 22, 2017
1 parent c3ae3e5 commit 82cc6dd
Show file tree
Hide file tree
Showing 8 changed files with 1,418 additions and 855 deletions.
29 changes: 22 additions & 7 deletions Analysis/BreastCancer/Breast Cancer Tissue Analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -555,12 +555,25 @@
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
"execution_count": 62,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"SE 93\n",
"PER 22\n",
"Name: model, dtype: int64"
]
},
"execution_count": 62,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"ms_results.model.value_counts()"
]
},
{
"cell_type": "code",
Expand Down Expand Up @@ -596,7 +609,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
},
Expand Down
114 changes: 77 additions & 37 deletions Analysis/Frog/Frog Development Analysis.ipynb

Large diffs are not rendered by default.

1,772 changes: 1,027 additions & 745 deletions Analysis/MERFISH/MERFISH Analysis.ipynb

Large diffs are not rendered by default.

295 changes: 246 additions & 49 deletions Analysis/MERFISH/Make MERFISH Expression table.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Analysis/MERFISH/middle_MS_results.csv
Git LFS file not shown
4 changes: 2 additions & 2 deletions Analysis/MERFISH/middle_final_results.csv
Git LFS file not shown
2 changes: 1 addition & 1 deletion Analysis/MERFISH/spatial_MERFISH_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def main():

# Convert data to log-scale, and account for depth
dfm = NaiveDE.stabilize(df.T).T
res = NaiveDE.regress_out(sample_info, dfm.T, 'np.log(cytoplasmArea)').T
res = NaiveDE.regress_out(sample_info, dfm.T, 'np.log(total_count)').T

# Perform Spatial DE test with default settings
results = SpatialDE.run(X, res)
Expand Down
53 changes: 41 additions & 12 deletions Analysis/MouseOB/Mouse Olfactory Bulb Analysis.ipynb

Large diffs are not rendered by default.

0 comments on commit 82cc6dd

Please sign in to comment.