WriteQC {aCGH.Spline}R Documentation

Function to produce a QC report.

Description

Write a QC report containing some summery statistics

Usage

WriteQC(filename, batch, x)

Arguments

filename - the name for the output file.
batch - TRUE or FALSE (is it being run in batch mode).
x - a ".temp" formatted data stucture.

Value

Produces a table containing the filename, 68th percentile, dLRs and chromosme X median.

Author(s)

Tomas William Fitzgerald

Examples


chr = rnorm(1000,1,0)

for (x in 2:24) {
        chr = c(chr, rnorm(1000,x,0)) 
}

mat = matrix(ncol=7, nrow=length(chr))
mat[,1] = rnorm(length(chr),1000,150)
mat[,2] = rnorm(length(chr),800,180)
mat[,3] = chr
mat[,4] = seq(1,length(chr), 1)
mat[,5] = seq(1,length(chr), 1)
mat[,6] = 0
mat[,7] = 0

WriteQC("test", batch=FALSE, mat)


[Package aCGH.Spline version 2.2 Index]