index2Numeric | R Documentation |
This function converts a vector of indices, which are a potential mixture of numeric values and accessions (characters or even factors)
to a vector which retains the numeric indices, but converts accessions to their corresponding index in a provided accessions
vector.
index2Numeric(i, accessions)
i |
A vector of indices (either numeric or a character or factor vector corresponding to elements in the |
accessions |
A character or factor vector containing accessions. |
A numeric vector containing either the original numeric values or the numeric values corresponding to the position of each element of i
in the accessions
vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.