Learn R Programming

DGEobj (version 1.1.2)

subset.DGEobj: Subset internal row or column data

Description

Subset internal row or column data

Usage

# S3 method for DGEobj
subset(x, ..., row, col, drop = FALSE, debug = FALSE)

Arguments

x

A class DGEobj created by function initDGEobj()

...

Additional parameters

row

Row index for the subset

col

Col index for the subset

drop

Included for compatibility only

debug

(default = FALSE) Set to TRUE to get additional information on the console if subsetting a DGEobj fails with a dimension error.

Value

A DGEobj

Examples

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

    exObj <- subset(exObj, 1:10, 5:50)

# }

Run the code above in your browser using DataLab