biocmask
utilizes its own version of rlang::.data
pronouns. These may be
used to gain access to other evaluation contexts for a managed set of
data-masks.
Similar to rlang::.data
, biocmask::.assays
and other exported pronouns
are exported to pass R CMD Checks. When using a biocmask
within your package,
import the associated pronoun from biocmask
but only use the fully unqualified
name, .assays
, .assays_asis
, etc.
Format
An object of class NULL
of length 0.
An object of class NULL
of length 0.
An object of class NULL
of length 0.
An object of class NULL
of length 0.
An object of class NULL
of length 0.
An object of class NULL
of length 0.
Examples
mutate(se_simple,
# access via pronoun
rows(sum = rowSums(.assays_asis$counts)),
cols(sum = vapply(.assays$counts, sum, numeric(1))))
#> class: SummarizedExperiment
#> dim: 5 4
#> metadata(0):
#> assays(2): counts logcounts
#> rownames(5): row_1 row_2 row_3 row_4 row_5
#> rowData names(4): gene length direction sum
#> colnames(4): col_1 col_2 col_3 col_4
#> colData names(3): sample condition sum