plot.tna_disparity: Plot Disparity Filter Result

View source: R/disparity.R

plot.tna_disparityR Documentation

Plot Disparity Filter Result

Description

Plot Disparity Filter Result

Usage

## S3 method for class 'tna_disparity'
plot(x, type = c("backbone", "comparison"), ...)

Arguments

x

A tna_disparity object.

type

Plot type: "backbone" (default) or "comparison".

...

Additional arguments passed to splot.

Value

Invisibly returns NULL. Called for the side effect of producing a plot.

Examples

## Not run: 
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
), nrow = 4, byrow = TRUE)
rownames(mat) <- colnames(mat) <- c("A", "B", "C", "D")
disp <- disparity_filter(cograph(mat), level = 0.05)
plot(disp)
plot(disp, type = "comparison")

## End(Not run)


cograph documentation built on April 1, 2026, 1:07 a.m.