Skip to content

uclahs-cds/project-CancerBiology-OutlierAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analysis and Visualization Code for Breast Cancer Outlier Study

Overview

This repository contains the analysis and figure-generating scripts for our academic paper titled:

"Widespread and Functional Gene Expression Outliers in Cancer"

This code is supplementary to the main analysis package, package-OutSeekR (GitHub).

Repository Contents

  • Figure/: R project workspace with individual plotting scripts and renv.lock
  • outlierAnalysisSupport/: Common R package used by plotting scripts

Getting Started

Prerequisites

  • R (version >= 4.3)

Bootstrapping

Bootstrapping a new development environment requires the following steps:

  1. Clone this repository: git clone https://github.com/uclahs-cds/project-CancerBiology-OutlierAnalysis.git.
  2. Navigate to the Figure/ subdirectory.
  3. Set the environment variables OUTLIER_DATA_DIR and OUTLIER_DATA_FILENAME to reference the original outlier datafile. These can be set in an .Renviron file.
  4. Within R, call renv::restore() to install the snapshotted packages.

Usage

The scripts in this repository are run in two phases: first performing the common analysis, then plotting individual figures. The common analysis scripts use the helper function cache.multiple.computed.variables to save individual computed variables into ./output/variable-cache/*.rda. Those variables are reloaded by later scripts using load.multiple.computed.variables.

The analysis scripts must be run in order:

  1. 1.preparation.R
  2. 2.copy.number.analysis.R
  3. 3.dna.methylation.analysis.R
  4. 4.cell.line.analysis.R
  5. 5.crispr.rnai.analysis.R

The individual plotting scripts (Figure/Figure*/Figure*.R) have no further dependencies and may be run in any order. Each Figure/Figure*/Figure*.R script produces one or more figures in the Figure/output/ directory, along with a Figure/output/Figure*.txt session information file.

License

This project is licensed under the GNU General Public License version 2. See the file LICENSE.md for the terms of the GNU GPL license.

Copyright (C) 2024 University of California Los Angeles ("Boutros Lab") All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages