Convenience wrapper for build_network(method = "ising").
Computes L1-regularized logistic regression network for binary data.
Arguments
- data
Data frame (sequences or per-observation frequencies) or a square symmetric matrix (correlation or covariance). A fitted
net_clusteringornet_mmmobject is also accepted: the per-cluster networks are (re)built and anetobject_groupis returned.- ...
Additional arguments passed to
build_network.
Value
A netobject (see build_network).
Examples
if (requireNamespace("glmnet", quietly = TRUE)) {
bin_data <- data.frame(matrix(rbinom(200, 1, 0.5), ncol = 5))
net <- build_ising(bin_data)
}