getAttributes {DGEobj} | R Documentation |
Get all attributes
Description
Get all user-defined attributes from a DGEobj except for any listed in the excludeList argument.
Usage
getAttributes(
dgeObj,
excludeList = list("dim", "dimnames", "names", "row.names", "class")
)
Arguments
dgeObj |
A DGEobj |
excludeList |
A list of attribute names to exclude from the output (default = list("dim", "dimnames", "names", "row.names")) |
Value
A named list
Examples
# example DGEobj
exObj <- readRDS(system.file("miniObj.RDS", package = "DGEobj"))
getAttributes(exObj)
# Get the formula attribute from the design (if set)
attr(exObj$design, "formula")
[Package DGEobj version 1.1.2 Index]