as.data.table.LongTable {CoreGx}R Documentation

Coerce a LongTable into a data.table

Description

S3 version of coerce method for convenience.

Usage

## S3 method for class 'LongTable'
as.data.table(x)

Arguments

x

LongTable to coerce to a data.table

Value

A data.table containing the data from the LongTable, as well as the ‘LongTable.config’ attribute which contains the data needed to reverse the coercion.


[Package CoreGx version 1.4.2 Index]