mt_plotpairs.RdPlots the gene expression from multiple samples in a mmt object in a grid plot with all pairs of variables.
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.
# 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") # }