View source: R/class_electrode_proto.R
new_electrode_prototype | R Documentation |
Create or load new electrode prototype from existing configurations
new_electrode_prototype(base_prototype, modifier = NULL)
base_prototype |
base prototype, this can be a string of prototype type
(see |
modifier |
internally used |
An electrode prototype instance
available_prototypes <- list_electrode_prototypes()
if("Precision33x31" %in% names(available_prototypes)) {
# Load by type name
new_electrode_prototype("Precision33x31")
# load by path
path <- available_prototypes[["Precision33x31"]]
new_electrode_prototype(path)
# load by json string
json <- readLines(path)
new_electrode_prototype(json)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.