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",
...
)
A cell_data_set object.
The margin to apply to, either 1 for rows (samples) or 2 for columns (features).
Any function.
A list of packages FUN will need. Failing to provide packages needed by FUN will generate errors in worker threads.
The number of cores to use for evaluation.
Whether to force conversion of a sparse matrix to a dense one before calling FUN.
character, the method used to reduce dimension. Default "UMAP".
Additional parameters for FUN.
The result of with(colData(cds) apply(counts(cds)), MARGIN, FUN, ...))