loadSamples {BitSeq} | R Documentation

## Loading and saving expression samples

### Description

Functions for loading expression samples into DataFrame and saving samples from DataFrame into a file.

### Usage

    loadSamples(fileName, trInfoFile=NULL)
    writeSamples(data, fileName)

### Arguments

`fileName` | Name of the file with samples or to which the samples are written.
`data` | DataFrame with samples written to the file.
`trInfoFile` | Transcript information file which can be used to name the rows.

### Details

The `loadSamples` function load samples from the specified file into a `DataFrame`. If the transcript information file is provided, the transcript names are use as row names.

The `writeSamples` function can save samples from a `DataFrame` into a file in format which is valid for BitSeq and can be used in other functions.

### Value

`DataFrame` | Containing the expression samples

### Author(s)

Peter Glaus

### See Also

`estimateExpression`

### Examples

    ## Not run:
    samples1<-loadSamples("data-c0b1.rpkm")
    writeSamples(samples1,"new-c0b1.rpkm")

    ## End(Not run)

[Package BitSeq version 1.24.0 Index]