Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linear Model Coefficient Analysis #26

Merged
merged 6 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 20 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
# ignore all plates as they are downloaded from figshare in instructions
0.download_data/Plate_1
0.download_data/Plate_2
0.download_data/Plate_3
0.download_data/Plate_3_prime
0.download_data/Plate_4

# ignore pycache
__pycache__

# ignore corrected plates if they are put into a separate folder
Corrected_Images

# ignore corrected plates images (like in download data)
1.cellprofiler_ic/Corrected_Plate_1
1.cellprofiler_ic/Corrected_Plate_2
1.cellprofiler_ic/Corrected_Plate_3
1.cellprofiler_ic/Corrected_Plate_3_prime
1.cellprofiler_ic/Corrected_Plate_4
# ignore VSCode files
.vscode

# ignore log files
*logs
Expand All @@ -27,3 +13,21 @@ Corrected_Images

# ignore jupyter files
.ipynb_checkpoints/

# ignore zip files (large)
*.zip

# ignore all plates as they are downloaded from figshare in instructions
0.download_data/Plate_1
0.download_data/Plate_2
0.download_data/Plate_3
0.download_data/Plate_3_prime
0.download_data/Plate_4

# ignore corrected plates images as they are generated in IC notebook
Corrected_Images/
Corrected_Plate_1
Corrected_Plate_2
Corrected_Plate_3
Corrected_Plate_3_prime
Corrected_Plate_4
21 changes: 21 additions & 0 deletions 4.analyze_data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Analyze NF1 data

In this module, we perform analysis on the data to uncover answers to our goals as specified in [the main README](../README.md).


The analyses we perform are:

1. Linear modeling per feature in each plate. The beta coefficients for WT treatment contribution and cell count contribution are plotted as a scatter plot.

# R visualization environment

To visualize results, we use R to create plots.
This means that we have a separate environment from the main Python environment specifically in this module that has an R kernel.
To install this environment, perform the following steps:

```bash
# Make sure you are in the 4.analyze_data module to access the env file
cd 4.analyze_data
# Run this command in terminal to create the conda environment
conda env create -f r_analysis_env.yml
```
Loading