newType {DGEobj} | R Documentation |
Add a new type definition to a DGEobj
newType(dgeObj, itemType, baseType, uniqueItem = FALSE)
dgeObj |
A class DGEobj created by function initDGEobj() |
itemType |
The name of the new type to create |
baseType |
The baseType of the new item. One of [row, col, assay, meta] |
uniqueItem |
If set to TRUE, only one instance of the new type is allowed in a DGEobj |
A DGEobj
# example DGEobj
exObj <- readRDS(system.file("miniObj.RDS", package = "DGEobj"))
exObj <- newType(exObj,
itemType = "AffyRMA",
baseType = "assay",
uniqueItem = TRUE)