fe.write {aCGH.Spline}R Documentation

Function to output a Feature extraction formatted file.

Description

Function used to replace intensity values, log ratio values and flags within a feature extraction input file.

Usage

fe.write(file, x)

Arguments

file - a feature extraction input file to use as a template (ideally this should be the FE file from which the data came from).
x - a ".temp" formatted dataframe containing the intensity values and flags to be written.

Details

Using a combination of "fe.read" and "fe.write" it is easy to modifying FE data and output results back to the orignal format.

Value

This outputs a new FE file having exactly the same name as the input FE file except its filename will start with "S".

The new FE file will contain the intensity values, log ratio and flags from the ".temp" format input stucture(x).
NB. If the input FE filename starts with an "S" the file will be overwritten.

Note

This function draws on methods contained within the "Jspline" class.

Author(s)

Tomas William Fitzgerald

Examples


# Read "FEfile.txt", flag all data points and write out in FE format.
# data <- fe.read("FEfile.txt", raw=TRUE)
# data[,8] = 1
# fe.write("FEfile.txt", data)

[Package aCGH.Spline version 2.2 Index]