[,LongTable,ANY,ANY,ANY-method | R Documentation |
Single bracket subsetting for a LongTable object. See subset for more details.
## S4 method for signature 'LongTable,ANY,ANY,ANY'
x[i, j, assays = assayNames(x), ..., drop = FALSE]
x |
|
i |
|
j |
|
assays |
|
... |
Included to ensure drop can only be set by name. |
drop |
|
This function is endomorphic, it always returns a LongTable object.
A LongTable
containing only the data specified in the function
parameters.
# Character
merckLongTable['ABT-888', 'CAOV3']
# Numeric
merckLongTable[1, c(1, 2)]
# Logical
merckLongTable[, colData(merckLongTable)$sampleid == 'A2058']
# Call
merckLongTable[
.(drug1id == 'Dasatinib' & drug2id != '5-FU'),
.(sampleid == 'A2058'),
]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.