writeTab {cellHTS2} | R Documentation

## Write the data from a cellHTS object to a tab-delimited file

### Description

Write the data from a `cellHTS` object to a tab-delimited file.

### Usage

    ## S4 method for signature 'cellHTS':
    writeTab(x, file=paste(name(x), "txt", sep="."))

### Arguments

`x` | a `cellHTS` object.
`file` | the name of the output file.

### Details

This function is a wrapper for function `write.table` to write the contents of `assayData` slot of a `cellHTS` object to a tab-delimited file. If the object is already annotated, the probe information (`fData(object)@GeneID`) is also added.

### Value

The name of the file that was written.

### Author(s)

Wolfgang Huber huber@ebi.ac.uk, Ligia P. Bras ligia@ebi.ac.uk

### See Also

`cellHTS`

### Examples

        data(KcViabSmall)
        writeTab(KcViabSmall, file=tempfile())

[Package cellHTS2 version 2.4.1 Index]