Learn R Programming

DGEobj (version 1.0.1)

getAttribute: Get a specified attribute

Description

Get a specified attribute

Usage

getAttribute(dgeObj, attrName)

Arguments

dgeObj

A DGEobj

attrName

Name of the attribute to retrieve

Value

The specified attribute value or NULL if the attribute doesn't exist

Examples

Run this code
# NOT RUN {
    # example DGEobj
    exObj <- readRDS(system.file("exampleObj.RDS", package = "DGEobj"))

    # Get an attribute from a DGEobj
    getAttribute(exObj, "type")

    # Get an attribute from a DGEobj item
    getAttribute(exObj$designMatrix, "formula")

# }

Run the code above in your browser using DataLab