Description Usage Arguments Examples
View source: R/plotPatternplot.R
This function uses ggplot to plot pattern plots
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | plotPatternplot(
df,
xlText = "",
ylText = "",
xticks = T,
yticks = T,
titleText = "",
legend = T,
showPanel = T,
legendOnly = F,
textSize = 4,
n = 8,
colScale = "grayC"
)
|
df |
Pattern data to plot. |
xlText |
Text to xlabel. Defaults to "". |
ylText |
Text to ylabel. Defaults to "". |
xticks |
True to display xticks. Defaults to T. |
yticks |
True to display yticks. Defaults to T. |
titleText |
Title of plot. Defaults to "". |
legend |
True to display legend. Defaults to T. |
showPanel |
True to keep plot frame. Defaults to T. |
legendOnly |
True to only plot legend. Defaults to F. |
textSize |
Size of text in plot. Defaults to 4. |
n |
Number of colors, should equal number of possible combinations |
colScale |
What type of scico colorscale to use. Defaults to "grayC". |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.