mbecRLEPlot: RLE plotting function

Description Usage Arguments Value Examples

View source: R/mbecs_plots.R

Description

Takes data.frame from mbecRLE and produces a ggplot2 object.

Usage

1
mbecRLEPlot(rle.df, model.vars)

Arguments

rle.df

'mbecRLE' data output

model.vars

two covariates of interest to select by first variable selects panels and second one determines coloring

Value

ggplot2 object

Examples

1
2
3
4
5
# This will return a paneled plot that shows results for the variance
# assessment.
rle.df <- mbecRLE(input.obj=dummy.mbec, model.vars=c('group','batch'),
type="clr", return.data=TRUE)
plot.rle <- mbecRLEPlot(rle.df, c('group','batch'))

buschlab/MBECS documentation built on Jan. 21, 2022, 1:27 a.m.