Description Usage Arguments Methods (by class)
This is a generic function to extract a phenotypic variable from data objects.
It aims is to encompass variables that are directly defined as vectors or,
for example, specified as a name that is looked up in the phenoData
variables
of an ExpressionSet
object.
1 2 3 4 5 6 7 |
object |
an |
x |
variable as an atomic vector or as a string corresponding to the
name of a phenotypic variable to be looked up in |
matrix
: simply returns x
, after checking that it has the same length
as the number of columns in x
.
ExpressionSet
: either return x
or the phenotypic variable pData(object)[[x]]
if it exists.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.