Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

polyn

Utilities for common, simple operations


Description

These functions perform a variety of simple operations.

Usage

polyn(nucleotides, n)

Arguments

nucleotides

A character vector with all elements having exactly 1 character, typically from the IUPAC alphabet.

n

An integer(1) vector.

Details

polyn returns a character vector with each element having n characters. Each element contains a single nucleotide. Thus polyn("A", 5) returns AAAAA.

Value

polyn returns a character vector of length length(nucleotide)

Author(s)

Martin Morgan <mtmorgan@fhcrc.org>

Examples

polyn(c("A", "N"), 35)

ShortRead

FASTQ input and manipulation

v1.48.0
Artistic-2.0
Authors
Martin Morgan, Michael Lawrence, Simon Anders
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.