loadSamples: Loading and saving expression samples

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

View source: R/methods.R

Description

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

Usage

1
2
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

1
2
3
4
5
## Not run: 
samples1<-loadSamples("data-c0b1.rpkm")
writeSamples(samples1,"new-c0b1.rpkm")

## End(Not run)

BitSeq documentation built on Nov. 8, 2020, 5:25 p.m.