Skip to contents

Public wrapper around the internal tidy frame builder used by CSV/Parquet exporters. Returns a data.frame; if you prefer a tibble, wrap with tibble::as_tibble().

Usage

gds_to_tibble(gds, assays = NULL, drop_na = FALSE, include_col_data = FALSE)

Arguments

gds

A realised GDS object

assays

Character vector of assay names to include (default: all assays in the GDS)

drop_na

If TRUE, drop rows with all-NA assays

include_col_data

If TRUE, join columns from col_data

Value

A data.frame in long form with columns sample, subject, contrast, plus one column per requested assay.