plotlyHistogram: Function plotting a plotly histogram on the given histvalue

Description Usage Arguments Value Examples

View source: R/qc_functions.R

Description

Function plotting a plotly histogram on the given histvalue

Usage

1
2
3
4
5
6
7
8
plotlyHistogram(
  histvalue,
  plotTitle,
  xaxisTitle = "",
  yaxisTitle = "",
  pwidth = 200,
  pheight = 200
)

Arguments

histvalue

the value to plot as a histogram

plotTitle

title of the plot

xaxisTitle

name of xaxis; default is ""

yaxisTitle

name of yaxis; default is ""

pwidth

overall plot width; default is 200

pheight

overall plot height; default is 200

Value

plotly plot object

Examples

1
2
3
4
data("mouseData", package = "metagenomeSeq")
plotlyHistogram(histvalue = colSums(MRcounts(mouseData) > 0),
  plotTitle = "Feature distribution",
  xaxisTitle = "features", yaxisTitle = "frequency")

microbiomeExplorer documentation built on Nov. 8, 2020, 8:16 p.m.