Make consistnet getters/setters for all classes with the following characteristics:
my_
as.character
taxon_names
, taxon_ranks
, and taxon_ids
S3 functions for all classes as vector-based getter/setters. Make them usable as setters( e.g. taxon_names<-
). It might be a bit odd to use taxon_names
to get/set of taxon
objects, but having only one function name for everything will make it easy to use.taxonomy
/taxmap
and hierarcy
inherit taxa
, so its getters/setters work for them. Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.