R/save_as_xls.R

save_as_xls <-
function (x, file_name = "massiveGST.xls", ...) 
{
    x$gene_set <- rownames(x)
    x <- cbind(x[, ncol(x)], x[, -ncol(x)])
    colnames(x)[1] <- "gene set"
    WriteXLS(x, ExcelFileName = file_name, AdjWidth = TRUE, BoldHeaderRow = TRUE, 
        SheetNames = "massiveGST")
    invisible(NULL)
}

Try the massiveGST package in your browser

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

massiveGST documentation built on April 3, 2025, 10:57 p.m.