resultSummary {DriverNet} | R Documentation

## 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.

### Author(s)

Ali Bashashati, Reza Haffari, Jiarui Ding, Gavin Ha, Kenneth Liu, Jamie Rosner and Sohrab Shah

Maintainer: Jiarui Ding <jiaruid@cs.ubc.ca>

### Examples

    data(sampleDriversList)
    data(sampleRandomDriversResult)
    data(samplePatientMutationMatrix)
    data(sampleInfluenceGraph)

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

[Package DriverNet version 1.26.0 Index]