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.

# S4 method for HTSet
$(x, name)

# S4 method for HTSet
$(x, name)

# S4 method for HTSet
$(x, name) <- value

# S4 method for HTSet,character
[[(x, i, j, ...)

# S4 method for HTSet,character
[[(x, i, j, ...) <- value

# S4 method for 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