Classification of Ovarian Cancer Histotypes
The Report of Statistical Findings (RSF) can be generated by following the steps below:
- Clone the repo to your local machine and open RStudio
- Two local packages
ottaandottaOvcaneed to be installed locally. They are located on the I drive (\\files.ubc.ca\team\gpec\i) atI:/data repo. Copy the packages and put them at the pathRENV_PATHS_LOCAL(found in.Renviron). Install usingrenv::install()and use as input the file path to the source package. - For the rest of the package dependencies, run
renv::restore()to restore all packages used in this project into a private library on your local machine. - Restart the RStudio session and the Build tab should now have a Build Book button. Click that button to generate GitBook (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
docs/. Push these files to the GitHub remote. Note that the files need to be pushed to the master branch to update the report. - 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. One of the gphosts is a stable server to use as it runs the relatively newer CentOS 7 operating system (
gphost01, ...,gphost04). - Follow Steps 2 and 3 of [Generate RSF] to install R package dependencies. You'll need to use sftp/scp/rsync to transfer the local packages to the server.
- 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/and runmake all - The outputs will be in output directory specified in
pipeline/assets/params.sh. You can also modify parameters in this script as necessary to change the pipeline.