ParseOption | R Documentation |
Internal function: Parse string into relevant R object class
ParseOption(option_str)
option_str |
string representation of the option |
String can represent a named list, unnamed list, named vector, unnamed vector or single value. If string contains ";" assumes a list; if string contains "," assumes a vector; individual strings are interprated as "NULL" -> NULL; if "TRUE" or "FALSE" –> TRUE/FALSE; if single number –> as.numeric; if single non-number –> as.character;
MS
ParseOption("1.2,3")
ParseOption("RNA-seq:1.2,3;TT-seq:2,4")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.