set_internal_map: pick mapping function

View source: R/mapping.R

set_internal_mapR Documentation

pick mapping function

Description

Allows the user to set which mapping function is being used internally in the functions.

Usage

set_internal_map(map_function = NULL)

Arguments

map_function

which function to use, assigns it to an internal object

Details

by default, the package uses purrr::map to iterate over things. However, if you have the furrr package installed, you could switch it to use furrr::future_map instead.

Examples

## Not run: 
 library(furrr)
 future::plan(multicore)
 set_internal_map(furrr::future_map)

## End(Not run)


MoseleyBioinformaticsLab/ScanCentricPeakCharacterization documentation built on March 29, 2024, 11:32 p.m.