saveDiffExResults {singleCellTK} | R Documentation

## saveDiffExResults Save Differential Expression Results with a custom name.

### Description

saveDiffExResults Save Differential Expression Results with a custom name.

### Usage

    saveDiffExResults(inSCE, diffex, name, method)

### Arguments

`inSCE` | Input SCtkExperiment object. Required
`diffex` | results table saved from the differential expression analysis. Required
`name` | name of the result to be saved under in rowData(). Required
`method` | name of the diffex method used to generate the results. Options are DESeq2, limma and ANOVA. Required

### Value

a new SCE object with the diffex result saved in the rowData using the "name"

### Examples

    data("mouseBrainSubsetSCE")
    res <- scDiffEx(mouseBrainSubsetSCE,
                    useAssay = "logcounts",
                    condition = "level1class",
                    ntop = length(rownames(mouseBrainSubsetSCE)),
                    usesig = FALSE,
                    diffexmethod = "limma")
    sceObj <- saveDiffExResults(mouseBrainSubsetSCE, res, "Limma_Level1class", "limma")

[Package singleCellTK version 1.2.3 Index]