Create an alignment track
as.track.msa(x, name, refseq = names.msa(x)[1], short.label = NULL,
pretty = TRUE, nuc.text = NULL, nuc.text.pos = "bottom",
nuc.text.col = "black")
An object of type msa
The name of the track (a character string)
A character string identifying the sequence whose
coordinate range to use in the plot. A value of NULL
implies
the frame of reference of the entire alignment.
An optional character string to be displayed in the left-hand margin of the track
If TRUE
, display bases in the non-reference species
which are identical to the reference species as a dot.
If not NULL, can be a vector of character strings. Each character string should be the same length as the MSA with respect to refseq.
If nuc.text is not NULL, can be either "top" or "bottom" to indicate where to place nuc.text relative to the alignment. Will be recycled to the length of nuc.text.
If nuc.text is not NULL, color to be used for printing nuc.text. Will be recycled to the length of nuc.text.
An object of type track
which can be plotted with the
plot.track function
plot.track