plotColTile.Rd
Relative relations of two grouping can be visualized by plotting tiles with
relative sizes. plotColTile
and plotRowTile
can be used for
this.
plotColTile(object, x, y, ...)
plotRowTile(object, x, y, ...)
# S4 method for class 'SummarizedExperiment'
plotColTile(object, x, y, ...)
# S4 method for class 'SummarizedExperiment'
plotRowTile(object, x, y, ...)
a
SummarizedExperiment
object.
Character scalar
. Specifies 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.
Character scalar
. Specifies 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")
A ggplot2
object or plotly
object, if more than one
prevalences
was defined.
data(GlobalPatterns)
se <- GlobalPatterns
plotColTile(se,"SampleType","Primer")