writeQueryBatchFile {netDx} | R Documentation

## Write batch.txt file required to create GeneMANIA database

### Description

Write batch.txt file required to create GeneMANIA database

### Usage

    writeQueryBatchFile(netDir, netList, outDir = tempdir(), idFile,
      orgName = "predictor", orgDesc = "my_predictor",
      orgAlias = "my_predictor", taxID = 1339)

### Arguments

`netDir` | (char) path to dir with networks
`netList` | (char) vector of network names
`outDir` | (char) directory to write batch file
`idFile` | (char) path to file with patient IDs
`orgName` | (char) organism name. Don't change the default unless you know what you are doing.
`orgDesc` | (char) organism description. Similar to `orgName`, don't change the default
`orgAlias` | (char) organism alias. Similar to `orgName`, don't change the default.
`taxID` | (integer) taxonomyID required for GeneMANIA . Similar to `orgName`, don't change the default.

### Details

This file is used to compile features into a single database for feature selection.

### Value

No value. Side effect of writing batch file to `<outDir>/batch.txt`.

### Examples

    data(npheno)
    netDir <- system.file("extdata","example_nets",package="netDx")
    netList <- dir(netDir,pattern='txt$')
    writeQueryBatchFile(netDir,netList, tempdir(), npheno$ID)

[Package netDx version 1.1.4 Index]