GetRandomSeq: Generate a random sequence

View source: R/GetRandomSeq.R

GetRandomSeqR Documentation

Generate a random sequence

Description

Creates a random DNA sequence of a given length.

Usage

GetRandomSeq(seq.len)

Arguments

seq.len

The sequence length.

Value

A character string representing a DNA sequence.

Author(s)

Mercedes Guerrero-Murillo and Josep Gregori

See Also

GenerateVars, Diverge

Examples

set.seed(123)
GetRandomSeq(50)

VHIRHepatiques/QSutils documentation built on April 27, 2024, 10:29 p.m.