Write batch samples for ComBat.
Create a file for the batch IDs of the data sets.
writeSamples(x, batchID, fileName)
Matrix of gene expression data.
A vector containing the batch IDs of the data set
A character string specifying the name of the file to be created.
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.
This function is not called by the user directly.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.