mc_es_apply | R Documentation |
mc_es_apply computes the row-wise or column-wise results of FUN, just like esApply. Variables in colData from cds are available in FUN.
mc_es_apply(
cds,
MARGIN,
FUN,
required_packages,
cores = 1,
convert_to_dense = TRUE,
reduction_method = "UMAP",
...
)
cds |
A cell_data_set object. |
MARGIN |
The margin to apply to, either 1 for rows (samples) or 2 for columns (features). |
FUN |
Any function. |
required_packages |
A list of packages FUN will need. Failing to provide packages needed by FUN will generate errors in worker threads. |
cores |
The number of cores to use for evaluation. |
convert_to_dense |
Whether to force conversion of a sparse matrix to a dense one before calling FUN. |
reduction_method |
character, the method used to reduce dimension. Default "UMAP". |
... |
Additional parameters for FUN. |
The result of with(colData(cds) apply(counts(cds)), MARGIN, FUN, ...))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.