vctrs compatibility functions for maths, casting, coercion, and comparison
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## S3 method for class 'peptr_peptide'
vec_ptype2(x, y, ...)
## S3 method for class 'peptr_peptide'
vec_cast(x, to, ...)
## S3 method for class 'peptr_position'
vec_ptype2(x, y, ...)
## S3 method for class 'peptr_position'
vec_cast(x, to, ...)
## S3 method for class 'peptr_ptm'
vec_ptype2(x, y, ...)
## S3 method for class 'peptr_ptm'
vec_cast(x, to, ...)
## S3 method for class 'peptr_ptm_list'
vec_ptype2(x, y, ...)
## S3 method for class 'peptr_ptm_list'
vec_cast(x, to, ...)
|
x, y |
Vectors. |
... |
Arguments passed on to further methods. |
to |
Type to cast to. |
op |
Arithmetic operation, |
.fn |
Mathematical function. |
.x |
Vector |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.