View source: R/data_manip_utils.R
parse_bp | R Documentation |
Parse a number of base pairs with optional units.
parse_bp(size)
size |
A character vector representing a numbers of base pairs, optionally including units such as bp, kpb, etc. |
A numeric vector containing the parsed numbers of base pairs.
If any input cannot be parsed, an error is thrown.
si2f()
parse_bp(c("100", "100bp", "100 kbp", "1Mbp"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.