R/output.gct.R

Defines functions `output.gct`

`output.gct` <-
function(normal, filename="probe"){		
    NAME<-Description<-rownames(exprs(normal))
    file<-cbind(NAME, Description, exprs(normal))
    filename1 <- paste(filename, ".gct", sep="")
    cat("#1.2", "\n", sep="\t", file=filename1)
    cat(nrow(normal), ncol(normal), "\n", sep="\t", file=filename1, append=T)
    suppressWarnings(write.table(file, file=filename1, row.names=FALSE, 
        quote = FALSE, sep="\t", append=T))	
}

Try the ArrayTools package in your browser

Any scripts or data that you put into this service are public.

ArrayTools documentation built on Nov. 8, 2020, 8:13 p.m.