gapletter<- {Biostrings}R Documentation

function to modify the gap letter in an alphabet

Description

This function modifies the gap letter in a "BioAlphabet" object.

Usage

gapletter(x) <- value

Arguments

x An object of class "BioAlphabet"
value A single letter.

Value

The modified object of class "BioAlphabet"

Author(s)

Saikat DebRoy

See Also

BioAlphabet-class

Examples

d <- DNAAlphabet()
gapletter(d) <- 'N'
d
r <- RNAPatternAlphabet()
gapletter(r) <- '*'
r

[Package Biostrings version 1.0.0 Index]