plotEdgeTest {alakazam} | R Documentation |
plotEdgeTest
plots the results of an edge permutation test performed with
testEdges
as either a histogram or cumulative distribution function.
plotEdgeTest(
data,
color = "black",
main_title = "Edge Test",
style = c("histogram", "cdf"),
silent = FALSE,
...
)
data |
|
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 edge test on isotypes
x <- testEdges(graphs, "c_call", nperm=10)
# Plot
plotEdgeTest(x, color="steelblue", style="hist")
plotEdgeTest(x, style="cdf")