% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/io.R
\name{load_gmx}
\alias{load_gmx}
\title{Load a GMX file (transposed GMT) into a [`VennDataset-class`]}
\usage{
load_gmx(path)
}
\arguments{
\item{path}{Path to the .gmx file.}
}
\value{
A [`VennDataset-class`].
}
\description{
Row 0 = set names, row 1 = descriptions, rows 2+ = items column-aligned.
}
\examples{
tmp <- tempfile(fileext = ".gmx")
writeLines(c("SetA\tSetB",
             "desc_A\tdesc_B",
             "GENE1\tGENE2",
             "GENE2\tGENE3"), tmp)
ds <- load_gmx(tmp)
length(ds@items)
}
