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 connected to UBC MyVPN (myvpn.ubc.ca) first if running off site, otherwiserenv::restore()should 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 updated report files are generated in
_book/. From the Terminal, runquarto publish gh-pagesto publish the 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 repo to a GSC server. We recommend using the
gphost10server as it uses the newest Rocky 9 OS, configured to use R-4.5.2. - Follow Step 2 of [Generate RSF] to install R package dependencies. You'll need to use sftp/scp/rsync to transfer the local packages
ottaandottaOvcato 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 fire away a large number of scripts to worker nodes. - Open a new
tmuxsession to run the pipeline in so that the SSH session doesn't timeout if it is running for a long time. - Navigate to
pipeline/README.mdto see all the different pipelines that can be run and how to obtain results - The outputs will be in output directory specified in
pipeline/assets/params.sh. Parameters in this script can be modified as necessary to change the pipeline.