random_sequences: Pick random sequences from the alignment

Description Usage Arguments Value Examples

Description

Pick random sequences from the alignment

Usage

1
2
random_sequences(aln = aln, nseqs = 1000, seed = 0, verbose = verbose,
  ...)

Arguments

aln

a sequence alignment

nseqs

number of sequences to pick

seed

choose a seed for the random number generator. This will allow you to repeat the analysis.

Value

An object of class “oligodiag” is a list containing at least the following components:

seed

the seed used for picking the random sequences

aln

a matrix of the random selected sequences stored in binary format

Examples

1
rand_seqs <- random_sequences(aln)

genomewalker/oligo4fun documentation built on May 17, 2019, 1:11 a.m.