makeAlnDF: Make an alignment data frame for plotting

Description Usage Arguments Value Examples

Description

Make an alignment data frame for plotting

Usage

1
makeAlnDF(alignment)

Arguments

alignment

an AAStringSet or DNAStringSet resulting from an alignment made with DECIPHER.

Value

a tidy long data frame of the alignment with columns 'seq_name', 'letter', 'aln_pos', and 'seq_pos', where 'aln_pos' is the position of the letter in the alignment of all sequences and 'seq_pos' is the position of the letter in the native sequence.

Examples

1
2
3
IDs <- c("AT3G62980.1", "AT3G26810.1")
alignment <- alignCDS(IDs)
makeAlnDF(alignment[[2]])

wrightrc/r1001genomes documentation built on Nov. 10, 2019, 12:45 p.m.