readSgrFiles {SimBindProfiles} | R Documentation |
Function to read sgr files into a list object, quantile normalise signal.
readSgrFiles(X, dataPath = getwd(), fileExt=".txt", normalise = TRUE)
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 |
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.
Returns normalized, transformed values as an object of class ExpressionSet
Bettina Fischer
sgrfiles <- c("SoxNDam_trunc","SoxN-DDam_trunc","DDam_trunc") dataPath <- system.file("extdata",package="SimBindProfiles") readTestSGR <- readSgrFiles(X=sgrfiles, dataPath)