Description Usage Arguments Value Functions Examples
LongTable build method from list
1 2 | ## S4 method for signature 'list'
buildLongTable(from, rowDataCols, colDataCols, assayCols)
|
from |
['list'] A list containing any combination of character file paths, data.tables and data.frames which will be used to construct the LongTable. |
rowDataCols |
['list'] List with two 'character' vectors, the first specifying one or more columns to be used as cell identifiers (e.g., cell-line name columns) and the second containing any additional metadata columns related to the cell identifiers. |
colDataCols |
['list'] List with two 'character' vectors, the first specifying one or more columns to be used as column identifiers (e.g., drug name columns) and the second containing any additional metadata columns related to the column identifiers. |
assayCols |
['list'] A named list of character vectors specifying how to parse assay columns into a list of 'data.table's. Each list data.table will be named for the name of corresponding list item and contain the columns specified in the character vector of column names in each list item. |
A ['LongTable'] object constructed with the data in 'from'.
buildLongTable,list-method
: a LongTable object from a list containing file paths,
data.frames and data.tables.
1 2 3 4 5 | assayList <- assays(merckLongTable, withDimnames=TRUE)
rowDataCols <- list(rowIDs(merckLongTable))
colDataCols <- list(colIDs(merckLongTable), colMeta(merckLongTable))
assayCols <- assayCols(merckLongTable)
longTable <- buildLongTable(from=assayList, rowDataCols, colDataCols, assayCols)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.