resetDGEobj {DGEobj}R Documentation

Reset to original data

Description

During a workflow, a DGEobj typically gets filtered down to remove samples that fail QC or non-expressed genes. The resetDGEobj() function produces a new DGEobj with the original unfiltered data.

Usage

resetDGEobj(dgeObj)

Arguments

dgeObj

A class DGEobj created by function initDGEobj()

Value

A DGEobj

Examples

    #example object
    exObj <- readRDS(system.file("exampleObj.RDS", package = "DGEobj"))

    # subset to first 10 rows to show reset functionality
    exObj <- exObj[c(1:10), ]

    exObj <- resetDGEobj(exObj)
    dim(exObj)


[Package DGEobj version 1.0.3 Index]