Learn R Programming

DriverNet (version 1.12.0)

resultSummary: Summarize result for drivers ranking.

Description

Ranks the drivers.

Usage

resultSummary(mainResult, randResult, patMutMatrix, influenceGraph, outputFolder = NULL, printToConsole = FALSE)

Arguments

mainResult
An object of DriverNetResult class created by the computeDrivers method.
randResult
A list of vectors representing driver coverage generated by computeRandomizedResult.
patMutMatrix
Patient Mutation Matrix
influenceGraph
Influence Graph Matrix
outputFolder
The folder to store the summary file. If set to NULL, no files will be written. If set to "", the files will be written to the current folder.
printToConsole
If set to TRUE, progress and result of the function will be printed to the console.

Value

A matrix storing the summary result.

Examples

Run this code
data(sampleDriversList)
data(sampleRandomDriversResult)
data(samplePatientMutationMatrix)
data(sampleInfluenceGraph)

res = resultSummary(sampleDriversList, sampleRandomDriversResult, 
samplePatientMutationMatrix, sampleInfluenceGraph, outputFolder=NULL, 
printToConsole=FALSE)

Run the code above in your browser using DataLab