PlotDiversity: Plot a boxplot with diversity measures

PlotDiversityR Documentation

Plot a boxplot with diversity measures

Description

Plot a boxplot with diversity measures

Usage

PlotDiversity(
  matrix,
  diversity,
  listVar,
  indivVar,
  colorVar = "",
  dots = "no",
  labels = "no",
  textSize = 15
)

Arguments

matrix,

a long matrix containing diversity measures make with CalculDiversity function

diversity,

diversity index, default is "Number of barcodes". Others are "Simpson Index" or "Shannon Index"

listVar

, a list of varaibles

indivVar,

individuals variable name

colorVar

, the color variable

dots,

reveal dots, default is "no". Other is "yes"

labels,

show dots labels, default is "no". Other is "yes".

textSize,

size of the text, default is 15

Value

a boxplot


Louisahadj/Lentiviral_barcoding documentation built on April 7, 2022, 11:29 p.m.