Classification of Ovarian Cancer Histotypes
The Report of Statistical Findings (RSF) can be generated by following the steps below:
- Clone the repository to your local machine and open the project by navigating to the
OV_Histotypes.RprojR project file. RStudio will then be launched. - Run
renv::restore()to restore all packages used in this project into a private library on your local machine. Note that there are two local packagesottaandottaOvcastored on the UBC TeamShare network drive I (\\files.ubc.ca\team\gpec\i) located atI:/cellar. Ensure you are first connected to UBC MyVPN (myvpn.ubc.ca) if running offsite, otherwiserenv::restore()will work if you are connected to the eduroam WiFi network. - Restart the RStudio session and the Build tab should now have a Render Book button. Click that button to generate HTML and PDF formats of the RSF, or use the dropdown menu to generate a specific format only.
- The report files are generated in
_book/. From the Terminal, runquarto publish gh-pagesto publish the updated RSF to GitHub Pages, hosted on thegh-pagesbranch. - RSF is generated at URL https://talhouklab.github.io/OV_Histotypes/
The classifier pipeline can be run by following the steps below:
- Clone the repository to a desired path in a GSC server. We recommend using the
gphost11server as it uses the newest Rocky 9 OS and has R-4.6.0 installed, the same R version configured for this project. - Follow Step 2 of [Generate RSF] to install R package dependencies. You'll need to use
sftp/scp/rsyncto transfer the local packagesottaandottaOvcato the server, and place them at~/Cellarof your root directory. This path is specified in the environment variableRENV_PATHS_CELLARin.Renviron. - SSH to the
numbersserver to submit SLURM jobs. This is the job management system that allows us to submit a large number of scripts to worker nodes. - Open a new
tmuxsession calledhistotypesviatmux -S ~/.socket new -s histotypes. Run the pipeline within the tmux session, otherwise the remote SSH session will likely time out after it has been idle for a long time. - Navigate to
pipeline/README.mdto see all the different pipelines and the order in which they should be run usingmake - The outputs will be in the output directory specified in
pipeline/assets/params.sh. Parameters inparams.shcan be modified as necessary to change inputs to the pipeline.