transformAlnsToLong: Transform data for plotting

Description Usage Arguments Value Author(s)

View source: R/plotAlignments.R

Description

Orders and transforms a reference sequence and a set of aligned sequences into long format, i.e. one observation (tile position) per row. Used internally by plotAlignments.

Usage

1
transformAlnsToLong(ref, alns, add.other = FALSE)

Arguments

ref

The reference sequence

alns

Character vector of aligned sequences

add.other

Add a blank row labelled "Other" (Default: FALSE)

Value

A matrix of characters and plotting locations

Author(s)

Helen Lindsay


CrispRVariants documentation built on Nov. 8, 2020, 11:09 p.m.