% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/io.R
\name{load_tsv}
\alias{load_tsv}
\title{Load a tab-separated file into a [`VennDataset-class`]}
\usage{
load_tsv(path, binary = TRUE, prefix_cols = 1L)
}
\arguments{
\item{path}{Path to the file.}

\item{binary}{`TRUE` for binary 0/1 mode (default), `FALSE` for aggregated.}

\item{prefix_cols}{Number of leading metadata columns in binary mode
(default 1). Ignored when `binary = FALSE`.}
}
\value{
A [`VennDataset-class`].
}
\description{
Equivalent to `load_csv(path, binary = binary, delimiter = "\\t", prefix_cols = prefix_cols)`.
}
\examples{
tmp <- tempfile(fileext = ".tsv")
writeLines(c("Gene\tSetA\tSetB", "G1\t1\t0", "G2\t1\t1", "G3\t0\t1"), tmp)
ds <- load_tsv(tmp, binary = TRUE)
ds@universe_size
}
