Skip to contents

Determine the margin to use for a dataset

Usage

GetMargin(dims, MARGIN = getOption(x = "SeuratDisk.chunking.MARGIN"))

Arguments

dims

Dimensions of a dataset

MARGIN

Either an integer value contained within 1:length(x = dims) or one of the possible values of the SeuratDisk.chunking.MARGIN option

Value

An integer value with the MARGIN

See also

srtdisk-package for package options

Examples

# \donttest{
srtdisk:::GetMargin(c(4, 10))
#> [1] 2
# }