Giter Club home page Giter Club logo

dawnrank's Introduction

DawnRank

driver gene identification algorithm DawnRank 2014

Install:

install.packages("devtools")

library(devtools)

install_github("MartinFXP/DawnRank")

library(DawnRank)

Small scale example:

# load the mutation data
data(brcaExampleMutation)

# load the tumor expression data
data(brcaExampleTumorExpression)

# load the normal expression data
data(brcaExampleNormalExpression)

# load the pathway data
data(brcaExamplePathway)

# load the gold standard
data(goldStandard)

# normalize the tumor and normal data to get the differential expression
normalizedDawn <- DawnNormalize(tumorMat = brcaExampleTumorExpression, normalMat = brcaExampleNormalExpression)

# get the DawnRank Score Get some coffee, this might take a while!
dawnRankScore <- DawnRank(adjMatrix = brcaExamplePathway, mutationMatrix = brcaExampleMutation, 
expressionMatrix = normalizedDawn, mu = 3, goldStandard = goldStandard, parallel = 2)

# look at the DawnRank scores for a few patients
dawnRankFrame <- dawnRankScore[[3]]
head(dawnRankFrame)

# get the aggregate DawnRank scores Get some coffee, this might take a
# while!
aggregateDawnRankScore <- condorcetRanking(scoreMatrix = dawnRankScore[[2]], 
    mutationMatrix = brcaExampleMutation, parallel = 2)

# look at top 10 ranked genes
top10 <- aggregateDawnRankScore[[2]][1:10]
top10

# get the individual cutoff for patient TCGA-A2-A04P
dawnRankFrame$isCGC <- dawnRankFrame$isGoldStandard
library(maxstat)
#NOTE: the latest version of mvnorm should be installed
significance <- patspeccutoff(patient = "TCGA-A2-A04P", ms = dawnRankFrame, 
    default = 95)
# look for signficance. 
significance[[1]]

Reference:

Hou & Ma, 2014

https://genomemedicine.biomedcentral.com/articles/10.1186/s13073-014-0056-8

http://genome.compbio.cs.cmu.edu/~jianma/software/DawnRank/

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.