This repository contains the code for the analysis of RNA-seq data from the KWF project "Postpartum breast cancer diagnosed during involution: a distinct entity with unique clinicopathological, molecular and immunological features".
This project utilizes a three-pronged approach:
- Survival analysis based on clinical outcomes within the PPBC cohort
- RNAseq-based analyses on FFPE-preserved primary tumors from a subset of patients within the PPBC cohort
- Spatial analysis from Vectra multiplex panels on a subset of the aforementioned patients
- Install R and Python and their dependencies. R dependency versions are in
renv.lock
and can be restored withrenv::restore()
. For Python, usepipenv install
to generate a virtual environment based onrequirements.txt
, andpipenv shell
to activate it. - Add the RNA fastq files to
data/rnaseq/RAW
and the spatial vectra files todata/vectra/raw
. - Run with
snakemake
. If you get a permission error when knitting a notebook, run snakemake again. This is due to rmarkdown's inability to handle multiple simultaneous knitting jobs from the same file, and should resolve itself on subsequent runs.
Note: to get the figures numbered as they are in the published article, you will need to type snakemake renumber_figs
into the console.