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. Same used in CalculDiversity function.

indivVar,

individuals variable name. Same used in CalculDiversity function.

colorVar

, the color variable. Same used in CalculDiversity function.

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


TeamPerie/CellDestiny documentation built on July 4, 2022, 8:40 a.m.