load_gmx: Load a GMX file (transposed GMT) into a ['VennDataset-class']

View source: R/io.R

load_gmxR Documentation

Load a GMX file (transposed GMT) into a ['VennDataset-class']

Description

Row 0 = set names, row 1 = descriptions, rows 2+ = items column-aligned.

Usage

load_gmx(path)

Arguments

path

Path to the .gmx file.

Value

A ['VennDataset-class'].

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)

vennDiagramLab documentation built on May 19, 2026, 1:07 a.m.