% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/boot_glasso.R
\name{plot.boot_glasso}
\alias{plot.boot_glasso}
\title{Plot Method for boot_glasso}
\usage{
\method{plot}{boot_glasso}(x, type = "edges", measure = NULL, ...)
}
\arguments{
\item{x}{A \code{boot_glasso} object.}

\item{type}{Character. Plot type: \code{"edges"} (default),
\code{"stability"}, \code{"edge_diff"}, \code{"centrality_diff"},
or \code{"inclusion"}.}

\item{measure}{Character. Centrality measure for
\code{type = "centrality_diff"} (default: first available measure).}

\item{...}{Additional arguments passed to plotting functions. For
\code{type = "edge_diff"} and \code{type = "centrality_diff"},
accepts \code{order}: \code{"sample"} (default, sorted by value)
or \code{"id"} (alphabetical).}
}
\value{
A \code{ggplot} object, invisibly.
}
\description{
Plots bootstrap results for GLASSO networks.
}
\examples{
set.seed(1)
dat <- as.data.frame(matrix(rnorm(60), ncol = 3))
bg <- boot_glasso(dat, iter = 10, cs_iter = 5, centrality = "strength")
plot(bg, type = "edges")
\donttest{
set.seed(42)
mat <- matrix(rnorm(60), ncol = 4)
colnames(mat) <- LETTERS[1:4]
boot <- boot_glasso(as.data.frame(mat), iter = 20, cs_iter = 10,
  centrality = "strength", seed = 42)
plot(boot, type = "edges")
}

}
