HTSet-Extract: Extract or replace parts of an HTSet object

Description Usage Arguments See Also

Description

Operators "$" and [[ extract or replace a slot, while [ extracts a subset of the HTSet-class object in a similar manner of subset_features and subset_samples.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## S4 method for signature 'HTSet'
x$name

## S4 method for signature 'HTSet'
x$name

## S4 replacement method for signature 'HTSet'
x$name <- value

## S4 method for signature 'HTSet,character'
x[[i, j, ...]]

## S4 replacement method for signature 'HTSet,character'
x[[i, j, ...]] <- value

## S4 method for signature 'HTSet'
x[i, j, k, l, ..., drop = FALSE]

Arguments

x

HTSet-class.

name

The name of the slot.

value

A replacement value for this slot, which must match the slot definition.

i, j

indices for features (i) and samples (j) to extract.

...

other arguments

k

column index for fdata

l

column index for pdata

drop

If TRUE the result is coerced to the lowest possible dimension

See Also

HTSet-class


zhuchcn/HTSet documentation built on April 10, 2020, 4:51 p.m.