Learn R Programming

survJamda (version 1.1.4)

det.batchID: Determine the batch ID of data sets.

Description

Determine the batch ID of data sets for ComBat.

Usage

det.batchID(geno.files)

Arguments

geno.files
A vector of character containing the names of gene expression data files.

Value

A vector of integers specifying the batch ID of data sets. The integers from 1 to the number specifying the length of geno.files are set as the batch ID of the data sets named in geno.files as follows: 1 to the first expression file name in geno.files, 2 to the second expression file name in geno.files, ... and the integer specifying the length of geno.files to the last expression file in geno.files, respectively.