fe.write {aCGH.Spline} | R Documentation |
Function used to replace intensity values, log ratio values and flags within a feature extraction input file.
fe.write(file, x)
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. |
Using a combination of "fe.read" and "fe.write" it is easy to modifying FE data and output results back to the orignal format.
This outputs a new FE file having exactly the same name as the input FE file except it will start with "SS" instead of "US".
The new FE file will contain the intensity values, log ratio (calculated from the intensity values) and flags from the ".temp" format input stucture(x).
This function draws on methods contained within the "Jspline" class.
Tomas William Fitzgerald
# Read "FEfile.txt", flag all data points and write out in FE format. # data <- fe.read("FEfile.txt", raw=TRUE) # data[,7] = 1 # fe.write("FEfile.txt", data)