In this module, we analyze the NF1 features for each plate using the various pipelines. The analysis we perform include:
- UMAPS
- Correlation Heatmap
- Linear model
- Power analysis
For every module before this one, we have used Visual Studio Code (vscode). Due to an issue with using R in Jupyter notebook for vscode, we are unable to use vscode to perform the analysis at this time. To solve for this issue, we use Jupyter Lab as the IDE to perform the analysis notebooks.
To create the conda environment used for visualization for R in Jupyter Lab, run the code block below:
conda env create -f visualize_env.yml
To create the conda environment used for analysis notebooks (e.g. nf1_ks_test.ipynb), run the code block below:
conda env create -f 5.analyze_data.yml
To install Jupyter Lab, follow the instructions found on their website.
In our case, we installed Jupyter Lab into base
environment using the code block below:
conda install -c conda-forge jupyterlab
To start Jupyter Lab, run the code block below:
jupyter lab
This will open Jupyter Lab into your browser. Using the file explorer, go to the "NF1_SchwannCell_data" directory, go into the "5_analyze_data" module, and start running the notebooks. You will need to change the pathing to the csv.gz outputs in the notebooks to the different pipelines to output the different figures.