show_align: show alignment

Description Usage Arguments Examples

View source: R/show_align.R

Description

show alignment

Usage

1
show_align(bstrobj, length, gap_chr = "-")

Arguments

bstrobj

bstr class object or character vector

length

column length

gap_chr

a gap character

Examples

1
2
3
4
5
6
dstr_rand_seq(5, seq(40, 110, l = 5), seed = 1) %>%
  show_align(length = 40)

bstr_rand_seq(2, c(15, 30), "[AT]", seed = 2) %>%
  {bstr_align_pairwise(.[1], .[2])} %>%
  show_align(length = 40)

t-arae/bstringr documentation built on March 18, 2021, 3:08 a.m.