Description Usage Arguments Value See Also Examples
Assign subsets of OPMS
objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## S4 replacement method for signature 'MOPMX,ANY'
x$name <- value
## S4 replacement method for signature 'MOPMX,ANY,missing,ANY'
x[i, ...] <- value
## S4 replacement method for signature 'MOPMX,ANY,missing,OPMX'
x[i, ...] <- value
## S4 replacement method for signature 'OPMS,ANY,missing,NULL'
x[i, j] <- value
## S4 replacement method for signature 'OPMS,ANY,missing,OPM'
x[i, j] <- value
## S4 replacement method for signature 'OPMS,ANY,missing,OPMS'
x[i, j] <- value
## S4 replacement method for signature 'OPMS,ANY,missing,list'
x[i, j] <- value
## S4 replacement method for signature 'MOPMX,ANY,missing,ANY'
x[[i, ...]] <- value
|
x |
|
i |
One to several plate indexes. Should be
compatible with the length of |
j |
Must not be set. See the examples. |
... |
Must neither be used. |
name |
Unevaluated symbol used for as index of a single element. |
value |
Value to be assigned. |
value
.
Other combination-functions: c
,
opms
, plus
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | copy <- vaas_4
copy[5] <- NULL # has no effect
stopifnot(identical(vaas_4, copy))
length(copy)
copy[2:3] <- NULL # removes these plates
length(copy)
stopifnot(length(vaas_4) == length(copy) + 2)
copy[1:4] <- vaas_4 # set all plates to the plates from 'vaas_4'
stopifnot(identical(vaas_4, copy))
copy[3] <- copy[3] # no change
stopifnot(identical(vaas_4, copy))
copy[3] <- copy[2] # now assign other plate
stopifnot(!identical(vaas_4, copy))
copy[6] <- copy[1] # gaps will be closed
stopifnot(length(copy) == 5) # not 6
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.