nim.write {aCGH.Spline}R Documentation

Function to output a Nimblegen formatted file.

Description

Function used to replace intensity values and log ratio values within a Nimblegen input file.

Usage

nim.write(file, x)

Arguments

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

Details

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

Value

This outputs a new Nimblegen file having exactly the same filename except it 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 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 "Nimfile.txt", flag all data points and write out in Nimblgen format.
# data <- nim.read("FEfile.txt", raw=TRUE)
# data[,8] = 1
# nim.write("FEfile.txt", data)

[Package aCGH.Spline version 2.2 Index]