plot_motifs_box: Plot performances of assembly motifs

Description Usage Arguments Details Value

View source: R/plot_fclust.R

Description

Plot performances of assembly motifs as boxplots, possibly horizontally or vertically, by decreasing or increasing values.

Usage

1
2
3
4
5
6
7
8
plot_motifs_box(fobs, assMotif, sres,
                ordre    = NULL,
                xylim    = range(fobs),
                main     = "",
                xlabel   = "",
                pvalue   = fpvalue(),
                opt.mean = "amean",
                opt.hor  = TRUE)

Arguments

fobs

numeric vector. The vector contains assemblage performances.

assMotif

an integer vector of length(fobs). The vector contains the labels of each assemblages. The labels are used to sorted the assemblages that share a same assembly motif.

sres

a table generated by the function sort_motifs. The table contains statistical properties of assembly motifs, sorted by increasing or decreasing mean performances.

ordre

an integer vector of length(fobs). The vector contains labels for each assemblages, that determine the order for assembly motifs.

xylim

a vector of two numerics. The numerics are extrem values of performance y-axis.

main

a string. The string is used as graph title.

xlabel

a string. The string is used as label for abscissa (xlab).

pvalue

a probability, used as threshold in the variance analysis. Then pvalue must be higher than 0 and lower than 1. Groups significantly different (at a p-value < pvalue) are then indicated by differents letters on the right of boxplots.

opt.mean

a character equals to "amean" or "gmean". Switch to arithmetic formula if opt.mean = "amean". Switch to geometric formula if opt.mean = "gmean".

opt.hor

a logical. If opt.hor = TRUE, boxplot is plotted as horizontal boxes alongside a vertical y-axis of performances. If opt.hor = FALSE, boxplot is plotted as vertical boxes alongside a horizontal y-axis of performances.

Details

None.

Value

Nothing. It is a procedure.


functClust documentation built on Dec. 2, 2020, 5:06 p.m.