writeSamples: Write batch samples for ComBat.

Description Usage Arguments Details Value Warning Author(s) See Also

Description

Create a file for the batch IDs of the data sets.

Usage

1
writeSamples(x, batchID, fileName)

Arguments

x

Matrix of gene expression data.

batchID

A vector containing the batch IDs of the data set x. The batch ID of the data sets composing the matrix x should be in the same order of the component data sets.

fileName

A character string specifying the name of the file to be created.

Details

This function writes two columns in a file: Array.name and Batch. The Array.name column contains the array or sample ID which are the row names of the matrix x. The batch id in the second column can be an integer or the name of the data set. The batch id must be the same for all samples or arrays of a data set.

Value

None.

Warning

This function is not called by the user directly.

Author(s)

Haleh Yasrebi

See Also

writeGeno,ComBat


survJamda documentation built on May 1, 2019, 8:50 p.m.