makeChunksDF: Create a chunks data frame from a chunked alignment data...

Description Usage Arguments Value Examples

Description

To allow similar chunking of annotation layers for facetting across multiple rows

Usage

1
makeChunksDF(aln_df)

Arguments

aln_df

An alignment dataframe

chunk_width

number of units (bases or amino acids) in a single chunk

Value

a chunks data frame containing the start, end, and chunk name for each chunk of the alignment

Examples

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

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