Giter Site home page Giter Site logo

survival's Introduction

Survival Analysis

https://github.com/LucoLab/Survival

Overview

You need two files :

  1. TCGA_CDR.csv contains the patients survival information.
  2. matrice.tsv contains the psi for TCGA patients.

There is two scripts :

SurvivalOctobre.R create a file for each end points.

SurvivalV4 plot survival curve for a specific exon.

prerequisite

NB : matrice.tsv is created on lakitu server using a script that parse all psi files (one for each patient) and filter for a list of exon you want to check.

So here, I give this precomputed matrice for polyA Exons and Ribo0 Exons to check survival in Luminal,Basal TCGA patients.

#/home/luco/localLib/anaconda3/bin/python3 /home/luco/code/python/prepareDataForHeatmap_withReads.py  -l /home/luco/PROJECT/CCLE/CLEAN/TCGA_Annotation/NewgroupsLumBLumABasal.tsv -d /home/luco/PROJECT/TCGA/TCGA_whippet.10.4/output/ -e /home/luco/PROJECT/EMT_workspace/POLYA/CE.whippet.Garfield.10.4.bed -t /home/luco/PROJECT/CCLE/ALL.POLYA.bed -a CE -f diff

How it works

In each dir you will find two bash script (concatPval.sh). You need to modify the path pointing to R script.

They will run survival analysis using SurvivalOctobre. If you need to plot a specific exon, you need to comment SurvivalV4.R and set exon id.

	
	Rscript SurvivalOctobre.R -e $i -m $PWD/MatricePsi_ALL.POLYA.bed_diff_NewgroupsLumBLumABasal.tsv -s /home/jean-philippe.villemin/data/data/PROJECT/SURVIVAL/TCGA_CDR.csv

	#1 : 			#high is blue(A), low is red(B)
	Rscript SurvivalV4.R -g "CD44_chr11:35204511-35204640" -e $i -c 1 -m $PWD/MatricePsi_ALL.POLYA.bed_diff_NewgroupsLumBLumABasal.tsv -s /home/jean-philippe.villemin/data/data/PROJECT/SURVIVAL/TCGA_CDR.csv

survival's People

Contributors

lucolab avatar

Watchers

 avatar

Forkers

labluco

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.