chunkAlnDF: Chunk up an alignment data frame to allow facetting over...

Description Usage Arguments Value Examples

Description

Chunk up an alignment data frame to allow facetting over multiple rows

Usage

1
chunkAlnDF(aln_df, chunk_width = 80)

Arguments

aln_df

An alignment data frame

chunk_width

The number of units (bp or aa) in a chunk.

Value

aln_df with the addition of a chunk column for wrapping the alignment across facets

Examples

1
2
3
4
5
6
#' # make an alignment
IDs <- c("AT3G62980.1", "AT3G26810.1")
alignment <- alignCDS(IDs)
# make an alignment data frame
aln_df <- makeAlnDF(alignment[[2]])
chunkAlnDF(aln_df)

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