resetDGEobj | R Documentation |
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. Resetting an object does not restore changes to attributes or class, but does revert changes made with addItem() and rmItem(). Reset requires that *_orig data is still in the DGEobj.
resetDGEobj(dgeObj)
dgeObj |
A class DGEobj created by function initDGEobj() |
A DGEobj
#example object exObj <- readRDS(system.file("miniObj.RDS", package = "DGEobj")) # subset to first 10 rows to show reset functionality exObj <- exObj[c(1:10), ] exObj <- resetDGEobj(exObj) dim(exObj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.