plotlyHistogram: Function plotting a plotly histogram on the given histvalue

View source: R/qc_functions.R

plotlyHistogramR Documentation

Function plotting a plotly histogram on the given histvalue

Description

Function plotting a plotly histogram on the given histvalue

Usage

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

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


zoecastillo/microbiomeExplorer documentation built on Sept. 11, 2022, 7:40 a.m.