plotEntropy: Plot the entropy profile for a matrix of sequences

Description Usage Arguments Value Author(s) Examples

Description

Plot the entropy profile for a matrix of sequences and also the base composition for the positions with highest entropy values.

Usage

1
plotEntropy(Seqs,Legend=TRUE,Max=TRUE,EntropyThreshold=0.6)  

Arguments

Seqs

a matrix of bases (nt sites are the columns; rows as the individual sequences).

Legend

logical. if the plot has a legend or not.

Max

logical. if only the max entropy should be displayed.

EntropyThreshold

numeric. A fixed entropy threshold above which the positions are identified. Only considered if Max=FALSE

Value

This function returns nothing, but prints the positions of the maximum entropy and the statistics (number and proportions for each different base at each position).

Author(s)

Alban Ramette

Examples

1
2
3
data(mock.fasta)
plotEntropy(Seqs=mock.fasta[[2]],Legend = TRUE,Max=TRUE)
plotEntropy(Seqs=mock.fasta[[2]],Legend = TRUE,Max=FALSE,EntropyThreshold = 0.6)

aramette/otu2ot documentation built on May 10, 2019, 12:46 p.m.