subset.DGEobj: Subset internal row or column data

Description Usage Arguments Value Examples

View source: R/subset.R

Description

Subset internal row or column data

Usage

1
2
## S3 method for class '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

1
2
3
4
    # example DGEobj
    exObj <- readRDS(system.file("exampleObj.RDS", package = "DGEobj"))

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

DGEobj documentation built on April 10, 2021, 1:07 a.m.