LongTable constructor method
LongTable.Rd
LongTable constructor method
Usage
LongTable(
rowData,
rowIDs,
colData,
colIDs,
assays,
assayIDs,
metadata = list(),
keep.rownames = FALSE
)
Arguments
- rowData
data.frame
A rectangular object coercible to adata.table
.- rowIDs
character
A vector ofrowData
column names needed to uniquely identify each row in aLongTable
.- colData
data.frame
A rectangular object coercible to adata.table.
- colIDs
chacter
A vector ofcolData
column names needed to uniquely identify each column in aLongTable
.- assays
list
A list of rectangular objects, each coercible to adata.table
. Must be named and item names must match theassayIDs
list.- assayIDs
list
A list ofcharacter
vectors specifying the columns needed to uniquely identify each row in anassay
. Names must match theassays
list.- metadata
list
A 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.table
inside the constructor. Default is FALSE. If TRUE, adds a 'rn' column to each rectangular object that gets coerced fromdata.frame
todata.table
. If a string, that becomes the name of the rownames column.