getRandomSeq: getRandomSeq

View source: R/misc.R

getRandomSeqR Documentation

getRandomSeq

Description

Produces a random sequence of the given letters

Usage

getRandomSeq(length = 3000, alphabet = c("A", "C", "G", "T"), n = 1)

Arguments

length

Length of the sequence

alphabet

Letters from which to sample

n

The number of sequences to generate

Value

A character vector of length 1

Examples

getRandomSeq(100)

ETHZ-INS/scanMiR documentation built on April 16, 2024, noon