View source: R/TreatmentResponseExperiment-class.R
TreatmentResponseExperiment | R Documentation |
Builds a TreatmentResponseExperiment
object from rectangular
objects. The rowData
argument should contain row level metadata, while
the colData
argument should contain column level metadata, for the
experimental assays
in the assays
list. The rowIDs
and colIDs
lists are used to configure
the internal keys mapping rows or columns to rows in the assays. Each list
should contain at minimum one character vector, specifying which columns
in rowData
or colData
are required to uniquely identify each row. An
optional second character vector can be included, specifying any metadata
columns for either dimension. These should contain information about each
row but NOT be required to uniquely identify a row in the colData
or
rowData
objects. Additional metadata can be attached to a
TreatmentResponseExperiment
by passing a list to the metadata argument.
TreatmentResponseExperiment(
rowData,
rowIDs,
colData,
colIDs,
assays,
assayIDs,
metadata = list(),
keep.rownames = FALSE
)
rowData |
|
rowIDs |
|
colData |
|
colIDs |
|
assays |
A |
assayIDs |
|
metadata |
A |
keep.rownames |
|
For now this class is simply a wrapper around a LongTable
class. In the
future we plan to refactor CoreGx such that the LongTable
class is in a
separate pacakge. We can then specialize the implementation of
TreatmentResponseExperiment
to better capture the biomedical nature of
this object.
A TreatmentResponseExperiment
object containing the data for a
treatment response experiment configured according to the rowIDs and
colIDs arguments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.