pamr.to.excel {pamr} | R Documentation

## A function to write out a data object into a tab-delimited text file

### Description

A function to write out a data object into a tab-delimited text file

### Usage

    pamr.to.excel(data,file,trace=TRUE)

### Arguments

`data` | A data object, of the same form as is read in by pamr.from.excel. Must have components x (the matrix of expression values), y- a vector of class labels for each sample, geneid- a vector of gene identifiers and genenames- a vector of gene names. Optional components: samplelabels and batchlabels, both character vectors
`file` | Character name of a text file.
`trace` | Optional argument. If true, progress in writing out file is reported.

### Details

`pamr.to.excel` { writes out the data object into a tab-delimited text file, of the same form as is read in by pamr.from.excel. Useful for writing out data that has been imputed by pamr.knnimpute or adjusted by pamr.batchadjust. Note- this function writes the file out one line at a time, and hence can take a while for big datasets. }

### Author(s)

Trevor Hastie, Robert Tibshirani, Balasubramanian Narasimhan, and Gilbert Chu

[Package pamr version 1.38.0 Index]