getAttributes {DGEobj} | R Documentation |
Get all user-defined attributes from a DGEobj except for any listed in the excludeList argument.
getAttributes(
dgeObj,
excludeList = list("dim", "dimnames", "names", "row.names", "class")
)
dgeObj |
A DGEobj |
excludeList |
A list of attribute names to exclude from the output (default = list("dim", "dimnames", "names", "row.names")) |
A named list
# 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")