gctMatrix2longdf: Convert a GctMatrix into a long data frame

View source: R/read_gct.R

gctMatrix2longdfR Documentation

Convert a GctMatrix into a long data frame

Description

Convert a GctMatrix into a long data frame

Usage

gctMatrix2longdf(gctMatrix)

Arguments

gctMatrix

A GctMatrix object

Value

A data.frame with four columns: feature, desc, sample, and value

Examples

idir <- system.file("extdata", package="ribiosIO")
sample.gct.file <- file.path(idir, "test.gct")
test.mat <- read_gct_matrix(sample.gct.file, keep.desc=TRUE)
test.long <- gctMatrix2longdf(test.mat)

ribiosIO documentation built on Feb. 20, 2026, 5:09 p.m.