resetDGEobj: Reset to original data

Description Usage Arguments Value Examples

View source: R/reset.R

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

1
resetDGEobj(dgeObj)

Arguments

dgeObj

A class DGEobj created by function initDGEobj()

Value

A DGEobj

Examples

1
2
3
4
5
6
7
8
    #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)

DGEobj documentation built on April 10, 2021, 1:07 a.m.