as | R Documentation |
LongTable
to a TreatmentResponseExperiment
Coerce a LongTable into a data.table
.
Currently only supports coercing to data.table or data.frame
Coerce a data.table with the proper configuration attributes back to a LongTable
from |
A |
The data in object
, as the child-class
TreatmentResponseExperiment
.
A data.table
with the data from a LongTable.
data.table
containing the data from the LongTable, with the
‘longTableDataMapper’ attribute containg the metadata needed to reverse
the coercing operation.
LongTable
object configured with the longTableDataMapper
data.table
with long format of data in from
data.frame
with long format of data in from
.
SummarizedExperiment
with each assay as a BumpyMatrix
A TREDataMapper
object.
TreatmentResponseExperiment
BumpyMatrix::BumpyMatrix
data(clevelandSmall_cSet)
TRE <- as(treatmentResponse(clevelandSmall_cSet),
"TreatmentResponseExperiment")
TRE
as(merckLongTable, 'data.table')
dataTable <- as(merckLongTable, 'data.table')
print(attr(dataTable, 'longTableDataMapper')) # Method doesn't work without this
as(dataTable, 'LongTable')
SE <- molecularProfilesSlot(clevelandSmall_cSet)[[1]]
as(SE, 'data.table')
SE <- molecularProfilesSlot(clevelandSmall_cSet)[[1]]
as(SE, 'data.frame')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.