filtering: Manipulating HCAMatrix filters

Description Usage Arguments Value filter filters Note Examples

Description

Manipulating HCAMatrix filters

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
filter(x, expr)

filters(x)

filters(x) <- value

## S4 method for signature 'HCAMatrix'
filter(x, expr)

## S4 method for signature 'HCAMatrix'
filters(x)

## S4 replacement method for signature 'HCAMatrix'
filters(x) <- value

Arguments

x

the object on which to set the filter list member

expr

a filter expression in the form of the right hand side of a formula, where bare names (without quotes) are allowed if they are available fields associated with the HCAMAtrix object, x

value

A list of structured filters (internal use)

Value

A HCAMatrix object with the filter field replaced by the specified filter expression

filter

The filter is a convenient setter for the filter element in HCAMatrix objects.

filters

The filters (plural) function is a safe accessor for the filters already present in the 'HCAMAtrix' API object. The filter can also be set using the 'filters<-' function setter (advanced use).

Note

Filtering documentation provided by the 'GenomicDataCommons' package

Examples

1
2
3
4
5
6
7
# make an HCAMatrix object to start
hca <- HCAMatrix()

head(available_filters(hca))

hca1 <- filter(hca, genes_detected >= 500)
filters(hca1)

HCAMatrixBrowser documentation built on Nov. 8, 2020, 5:15 p.m.