plotColTile: Plot factor data as tiles

plotColTileR Documentation

Plot factor data as tiles

Description

Relative relations of two grouping can be visualized by plotting tiles with relative sizes. plotColTile and plotRowTile can be used for this.

Usage

plotColTile(object, x, y, ...)

plotRowTile(object, x, y, ...)

## S4 method for signature 'SummarizedExperiment'
plotColTile(object, x, y, ...)

## S4 method for signature 'SummarizedExperiment'
plotRowTile(object, x, y, ...)

Arguments

object

a SummarizedExperiment object.

x

String specifying the column-level metadata field to show on the x-axis. Alternatively, an AsIs vector or data.frame, see ?retrieveFeatureInfo or ?retrieveCellInfo. Must result in a returned character or factor vector.

y

String specifying the column-level metadata to show on the y-axis. Alternatively, an AsIs vector or data.frame, see ?retrieveFeatureInfo or ?retrieveCellInfo. Must result in a returned character or factor vector.

...

additional arguments for plotting. See mia-plot-args for more details i.e. call help("mia-plot-args")

Value

A ggplot2 object or plotly object, if more than one prevalences was defined.

Examples

data(GlobalPatterns)
se <- GlobalPatterns
plotColTile(se,"SampleType","Primer")

microbiome/miaViz documentation built on April 21, 2024, 8:45 a.m.