| plot.tna_disparity | R Documentation |
Plot Disparity Filter Result
## S3 method for class 'tna_disparity'
plot(x, type = c("backbone", "comparison"), combined = TRUE, ...)
x |
A tna_disparity object. |
type |
Plot type: "backbone" (default) or "comparison". |
combined |
Logical: when |
... |
Additional arguments passed to splot. |
Invisibly returns the value from the underlying splot
call. Called primarily for the side effect of producing a plot.
mat <- matrix(c(0.0, 0.5, 0.1, 0.0, 0.3, 0.0, 0.4, 0.1,
0.1, 0.2, 0.0, 0.5, 0.0, 0.1, 0.3, 0.0), 4, 4, byrow = TRUE)
rownames(mat) <- colnames(mat) <- c("A", "B", "C", "D")
disp <- disparity_filter(cograph(mat), level = 0.05)
plot(disp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.