Learn R Programming

ggmsa (version 1.0.2)

tidy_color: cleaning the needless sequeces' color according to the consensus sequcence (only used in the consensus views).

Description

cleaning the needless sequeces' color according to the consensus sequcence (only used in the consensus views).

Usage

tidy_color(y, consensus, disagreement, ref)

Arguments

y

a data frame, sequence alignment with specified color.

consensus

the consensus sequence which can be called by get_consensus().

disagreement

a logical value. Displays characters that disagreememt to consensus(excludes ambiguous disagreements).

ref

a character string. Specifying the reference sequence which should be one of input sequences when 'consensus_views' is TRUE.