Description Usage Arguments Details
Methods to set the names of an annotated vector. If names are specified for an unnamed annotated_vector, its class is changed to the corresponding class from annotated_named_vector-superclass.
1 2 3 4 5 6 7 8 9 10 11 | ## S4 replacement method for signature 'annotated_vector,ANY'
names(x) <- value
## S4 replacement method for signature 'annotated_factor,ANY'
names(x) <- value
## S4 replacement method for signature 'annotated_named_vector,ANY'
names(x) <- value
## S4 replacement method for signature 'annotated_named_factor,ANY'
names(x) <- value
|
x |
An annotated vector. |
value |
A character vector of the same length as x, or NULL. |
See names
for details. If the names of an object of an
annotated_named_vector are removed by setting names(x) <- NULL
, it
is coerced to the corresponding class from annotated_vector-superclasses
(i.e., an annotated vector without a names slot).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.