Learn R Programming

SeuratObject (version 5.0.2)

.RandomKey: Generate a Random Key

Description

Generate a Random Key

Usage

.RandomKey(length = 7L, ...)

Value

Returns a valid key

Arguments

length

How long should the name be

...

Extra parameters passed to sample

See Also

.KeyPattern(), Key-validity, KeyMixin-class

Examples

Run this code
set.seed(42L)
.RandomKey()

Run the code above in your browser using DataLab