format_position <- function(position) {
paste0("@", as.character(position))
}
format_ptm <- function(position) {
format_position(position)
}
format_peptide <- function(sequence, position, count) {
paste0(as.character(count), "x", format_position(position), ":", as.character(sequence))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.