LongTable constructor method
LongTable.RdLongTable constructor method
Usage
LongTable(
rowData,
rowIDs,
colData,
colIDs,
assays,
assayIDs,
metadata = list(),
keep.rownames = FALSE
)Arguments
- rowData
data.frameA rectangular object coercible to adata.table.- rowIDs
characterA vector ofrowDatacolumn names needed to uniquely identify each row in aLongTable.- colData
data.frameA rectangular object coercible to adata.table.- colIDs
chacterA vector ofcolDatacolumn names needed to uniquely identify each column in aLongTable.- assays
listA list of rectangular objects, each coercible to adata.table. Must be named and item names must match theassayIDslist.- assayIDs
listA list ofcharactervectors specifying the columns needed to uniquely identify each row in anassay. Names must match theassayslist.- metadata
listA list of one or more metadata items associated with a LongTable experiment.- keep.rownames
logical(1)orcharacter(1)Should rownames be retained when coercing todata.tableinside the constructor. Default is FALSE. If TRUE, adds a 'rn' column to each rectangular object that gets coerced fromdata.frametodata.table. If a string, that becomes the name of the rownames column.