Arguments
omega
the cluster membership probability/omega matrix returned by
rows and topics along columns.
samp_metadata
the sample metadata, samples along the rows and
each column representing some metadata information
that will be used to arrange the Structure plot columns
(one plot for one arrangement).
batch_lab
the batch labels, the output will have one Structure plot
arranged by batch labels too.
partition
A logical vector of same length as metadata.
partition[i]=TRUE will imply that for the Structure
plot for i th metadata, no vertical line parititon
between classes is used.
path
The directory path where we want to save the data and
Structure plots.
control()
A list of control parameters for the Structure plot.
The control list has the arguments
struct.width, struct.height, cex.axis, cex.main,
lwd, las and color and margin parameters.