Learn R Programming

DGEobj (version 1.1.2)

getAttributes: 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

Run this code
# NOT RUN {
    # 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")

# }

Run the code above in your browser using DataLab