genus <- function(x) {
x <- gsub("'", "", x) # remove quotes from 'Nostoc azollae' 0708
x <- gsub("Candidatus ", "", x) ## remove Candidate species???
y <- strsplit(x, "\\s+")
sapply(y, '[', 1)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.