digestN: Computing a Short Digest String

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Computing a Short Digest String

Usage

1
digestN(x, n = 7, ...)

Arguments

x

an object

n

a single integer/numeric that indicates the desired length of the digest string. Use n = Inf to obtain full digest strings.

...

other arguments passed to digest::digest

Value

a character vector of digest strings.

Examples

1
2
3
4
5
6
x <- list(1, 2, 3)
digestN(x)
# longer diest
digestN(x, 15)
# full digest
digestN(x, Inf)

renozao/xbioc documentation built on Sept. 3, 2020, 1:13 a.m.