目录

Usage

First open R, in Linux and Mac, just type R in shell. In R, type the following commands:

library(DriverNet)

data(samplePatientMutationMatrix)
data(samplePatientOutlierMatrix)
data(sampleInfluenceGraph)
data(sampleGeneNames)

# The main function to compute drivers
driversList = computeDrivers(samplePatientMutationMatrix, samplePatientOutlierMatrix,
sampleInfluenceGraph, outputFolder=NULL, printToConsole=FALSE)

drivers(driversList)[1:10]

# random permute the gene labels to compute p-values
randomDriversResult = computeRandomizedResult(patMutMatrix=samplePatientMutationMatrix,
patOutMatrix=samplePatientOutlierMatrix, influenceGraph=sampleInfluenceGraph,
geneNameList= sampleGeneNames, outputFolder=NULL, printToConsole=FALSE,
numberOfRandomTests=20, weight=FALSE, purturbGraph=FALSE, purturbData=TRUE)

# Summarize the results
res = resultSummary(driversList, randomDriversResult, samplePatientMutationMatrix,
sampleInfluenceGraph, outputFolder=NULL, printToConsole=FALSE)

Reproduce the paper results

First download the data file paperData.tar.gz and decompress it to the desired folder.
Open R, and load the influence graph

load("influenceGraph.rda") 
Then load one of the data file, e.g.,
load("GBM_data.rda")

and run

driversList = computeDrivers(patMutMatrix, patOutMatrix,
influenceGraph, outputFolder=NULL, printToConsole=FALSE) 

will give you the rank list of genes.

关于

用于识别癌症驱动基因的生物信息学工具

1.2 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号