% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mantel_utils.R
\name{get_module_members}
\alias{get_module_members}
\title{Get module-to-OTU membership from a tbl_graph}
\usage{
get_module_members(graph_obj, module_col = "Modularity", exclude_others = TRUE)
}
\arguments{
\item{graph_obj}{A \code{tbl_graph} or \code{igraph} with a node
\code{name} attribute and a module column.}

\item{module_col}{Module column name. If missing, falls back to one of
\code{"Modularity"}, \code{"modularity3"}, \code{"modularity2"}.}

\item{exclude_others}{If \code{TRUE}, drop nodes labelled \code{"Others"}.}
}
\value{
Named list. Names are module labels, values are character vectors
  of OTU/node names.
}
\description{
Internal helper used by the modularity-based heatmap function. Returns a
named list mapping each module label to its set of OTU/node names.
}
\keyword{internal}
