writeQueryBatchFile: Write batch.txt file required to create GeneMANIA database

Description Usage Arguments Details Value Examples

View source: R/writeQueryBatchFile.R

Description

Write batch.txt file required to create GeneMANIA database

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

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

BaderLab/netDx documentation built on Sept. 26, 2021, 9:13 a.m.