plotSpeciesSpecificAnnotationDiversityDists: Boxplots the distributions of species specific annotation...

View source: R/plots.R

plotSpeciesSpecificAnnotationDiversityDistsR Documentation

Boxplots the distributions of species specific annotation (function) diversity, measured for each single gene group found in 'entropy.df'.

Description

Boxplots the distributions of species specific annotation (function) diversity, measured for each single gene group found in 'entropy.df'.

Usage

plotSpeciesSpecificAnnotationDiversityDists(plot.pdf, entropy.df, species,
  gene.groups.type, star.species = c(),
  colors = brewer.pal(length(species), "Dark2"))

Arguments

plot.pdf

The PDF File into which to save the distributions

entropy.df

A data.frame with species specific annotation entropies per gene group. Gene groups are rows and columns need to include the species in argument 'species'.

species

A character of length 2 or greater holding the names of the species to use for the plot. The species names need to occur as column names in 'entropy.df'.

gene.groups.type

The type of gene groups: e.g. 'Tandem Clusters'. Will be used in the main title of the boxplot.

star.species

The names of those species above whose boxplots to print a '*'. Default is none (c()).

colors

A character vector holding the colors for each species' density. Default is the brewer palette 'Dark2' for length(species).

Value

TRUE if and only if the plot can be generated successfully


asishallab/GeneFamilies documentation built on May 22, 2023, 11:30 a.m.