run.spline {aCGH.Spline} | R Documentation |
Function to process a single file.
run.spline(file, format = "FE", raw=TRUE, robust = TRUE, offset=5, knots=1000, ntyp = "percentile", p = 0.68, fact = 4.5, segN = FALSE, sn = 0.75, writeFE = FALSE, QC = FALSE, GFF = FALSE, PDF = FALSE)
file |
- the file to process. |
format |
- the type of file format - c("FE", "NIM"). |
raw |
- to use raw data or not (TRUE or FALSE). |
robust |
- make the method robust to outliers (TRUE or FALSE). |
offset |
- parameters to set the number of time the knot point will be offset. |
knots |
- the number of knot points to use for spline fitting. |
ntyp |
- type of noise calculation to perform - c("percentile", "derivative", "combined"). |
p |
- value between 0 and 1 (the percentile value). |
fact |
- numeric value (the factor by which the noise value will be rised). |
segN |
- option for robust noise calculation (recommended when data contains many outliers e.g. cancer sample) TRUE or FALSE. |
sn |
- value between 0 and 1 - threshold for segmentation (segN). |
writeFE |
- Output a Feature Extraction formatted file (only to be used when processing Agilent FE files). |
QC |
- produce a QC report TRUE or FALSE. |
GFF |
- produce a GFF formatted file TRUE or FALSE. |
PDF |
- produce a PDF containing normalisation figures TRUE or FALSE. |
In most cases running this function using defalut parameters (i.e. just providing the file input argument) will perform consistantly across a wide range of data qualities. If method optimisation is required the number of knot point and offsets can be adjusted along with the various noise parameters.
Output file containing seven columns (".temp" format):
- Cy5 intensity values.
- Cy3 intensity values.
- Chromosome number.
- Start position.
- Stop position.
- An index.
- A flag.
Tomas William Fitzgerald
# norm <- run.spline("InputFile") # This would run the method using defalut settings.