Learn R Programming

SingleCellAssay (version 0.80)

[,SCASet-method: Subset an SCASet to a smaller SCASet

Description

Subset an SCASet to a smaller SCASet

Usage

# S4 method for SCASet
[(x, i, j, ...drop = FALSE)

Arguments

x

SCASet to be subscripted

i

index

j

ignored

...

ignored

drop

ignored

Value

An SCASet

Details

signature(x="SCASet",i="ANY"): x[i], where i is the vector of integers or characters matching sampleNames. Returns an SCASet of length(i) of elements at positions in i.