readSgrFiles {SimBindProfiles} | R Documentation

## Read sgr data

### Description

Function to read sgr files into a list object, quantile normalise signal.

### Usage

    readSgrFiles(X, dataPath = getwd(), fileExt=".txt", normalise = TRUE)

### Arguments

`X` | object of class ExpressionSet
`dataPath` | path to the directory holding the data sgr data files
`normalise` | logical, should data be quantil normalised
`fileExt` | character specifying the filename extension

### Details

The function reads the data files in sgr file tab delimited format: chr, position, signal. All data sets must be from the same array platform and have the same chromosome names and positions. The data is read and then quantile normalised and stored as an ExpressionSet.

### Value

Returns normalized, transformed values as an object of class ExpressionSet

### Author(s)

Bettina Fischer

### See Also

`ExpressionSet`

### Examples

      sgrfiles <- c("SoxNDam_trunc","SoxN-DDam_trunc","DDam_trunc")
      dataPath <- system.file("extdata",package="SimBindProfiles")
      readTestSGR <- readSgrFiles(X=sgrfiles, dataPath)

[Package SimBindProfiles version 1.25.0 Index]