Description Usage Arguments Value Author(s) Examples
Plots the gene expression from multiple samples in a mmt
object in a grid plot with all pairs of variables.
1 2 | mt_plotpairs(mmt, samples = NULL, label_by = NULL, textsize = 5,
linesize = 0.5, pointsize = 2)
|
mmt |
(required) A |
samples |
A vector of 3 or more sample names in |
label_by |
replace the SampleIDs plotted in the diagonal with one(!) column in the metadata. |
textsize |
The text size of the axis titles. |
linesize |
The size of lines in the plot(s). |
pointsize |
The size of points in the plot(s). |
A ggplot2 object.
Thomas Yssing Michaelsen tym@bio.aau.dk
1 2 3 4 5 6 7 8 9 10 | ## Not run:
data("example_mmt")
# Plot all samples (might take some time)
mt_plotpairs(example_mmt)
# Plot replicates and relabel.
mt_plotpairs(example_mmt,samples = c("HQ180323_13","HQ180323_14"),label_by = "Replicate")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.