readSgrFiles: Read sgr data

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

View source: R/readSgrFiles.R

Description

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

Usage

1
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

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

SimBindProfiles documentation built on Nov. 8, 2020, 5:57 p.m.