GithubHelp home page GithubHelp logo

prad's Introduction

PRAD

source("http://bioconductor.org/bioClite.R") biocLite() biocLite("RTCGAToolbox") biocLite("devtools") biocLite("PGSEA") biocLite("GSEABase") biocLite("pathview") library(page) library(PSEA) library(RTCGAToolbox) library(BiocInstaller) library(devtools) library(DESeq2) if(require(RTCGAToolbox)){ si <- devtools::session_info() must.install <- FALSE if(!grepl("link-ny", si$packages[si$packages[, 1] == "RTCGAToolbox", 5], ignore.case = TRUE)){ must.install <- TRUE } }else{ must.install <- TRUE } if(must.install){ biocLite(c("limma", "RCircos", "data.table", "RCurl", "RJSONIO")) biocLite("Link-NY/RTCGAToolbox", "vjcitn/MultiAssayExperiment") }

library(RTCGAToolbox) rundates <- getFirehoseRunningDates() analysisdates <- getFirehoseAnalyzeDates() prad <- getFirehoseData("PRAD", runDate=rundates[1], gistic2_Date=analysisdates[1], RNAseq_Gene=TRUE, miRNASeq_Gene=TRUE, RNAseq2_Gene_Norm=TRUE, CNA_SNP=TRUE, CNV_SNP=TRUE, CNA_Seq=TRUE, CNA_CGH=TRUE, Methylation=TRUE, Mutation=TRUE, mRNA_Array=TRUE, miRNA_Array=TRUE, RPPA=TRUE)

choices <- tolower(gsub("_", "", c("RNAseq_Gene", "miRNASeq_Gene", "RNAseq2_Gene_Norm", "CNA_SNP", "CNV_SNP", "CNA_Seq", "CNA_CGH", "Methylation", "Mutation", "mRNA_Array", "miRNA_Array", "RPPA")))

dses <- lapply(choices, function(choice) try(extract(prad, choice, clinic=TRUE), silent=TRUE)) names(dses) <- choices dses

set.rnaseq <- extract(prad, "rnaseq2genenorm") write.csv(exprs(eset.rnaseq), file="prad_rnaseq.csv") write.csv(pData(eset.rnaseq), file="prad_clinical.csv") saveRDS(eset.rnaseq, file="prad_eset.rds")

eset.rnaseq <- readRDS("prad_eset.rds") hist(exprs(eset.rnaseq["KLK3", ])) hist(log(exprs(eset.rnaseq["KLK3", ])))

prad's People

Contributors

patrick-edu avatar

Watchers

 avatar

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.