plotMRCATest | R Documentation |
plotMRCATest
plots the results of a founder permutation test performed with
testMRCA
.
plotMRCATest(
data,
color = "black",
main_title = "MRCA Test",
style = c("histogram", "cdf"),
silent = FALSE,
...
)
data |
MRCATest object returned by testMRCA. |
color |
color of the histogram or lines. |
main_title |
string specifying the plot title. |
style |
type of plot to draw. One of:
|
silent |
if |
... |
additional arguments to pass to ggplot2::theme. |
A ggplot
object defining the plot.
See testEdges for performing the test.
# Define example tree set
graphs <- ExampleTrees[1:10]
# Perform MRCA test on isotypes
x <- testMRCA(graphs, "c_call", nperm=10)
# Plot
plotMRCATest(x, color="steelblue", style="hist")
plotMRCATest(x, style="cdf")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.