Description Usage Arguments Value Examples
View source: R/methods-coerce.R
Coerce a data.table with the proper configuration attributes back to a LongTable
1 |
x |
A [‘data.frame'] with the ’LongTable.config' attribute, containing three lists named assayCols, rowDataCols and colDataCols. This attribute is automatically created when coercing from a LongTable to a data.table. |
['LongTable'] object configured with the LongTable.config
1 2 3 | dataTable <- as(merckLongTable, 'data.table')
print(attr(dataTable, 'LongTable.config')) # Method doesn't work without this
as.long.table(dataTable)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.