filtering | R Documentation |
Manipulating HCAMatrix filters
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
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, |
value |
A list of structured filters (internal use) |
A HCAMatrix
object with the filter
field replaced by the specified filter expression
The filter
is a convenient setter for the filter
element in HCAMatrix
objects.
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).
Filtering documentation provided by the 'GenomicDataCommons' package
# make an HCAMatrix object to start
hca <- HCAMatrix()
head(available_filters(hca))
hca1 <- filter(hca, genes_detected >= 500)
filters(hca1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.